File tree 2 files changed +20
-0
lines changed
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 15
15
"build" : " yarn run build:webpack && yarn run build:jekyll" ,
16
16
"build:webpack" : " webpack -p --env.production" ,
17
17
"build:jekyll" : " bundle exec jekyll clean && JEKYLL_ENV=production bundle exec jekyll build" ,
18
+ "presskit" : " ./update_presskit" ,
18
19
"test" : " standard | snazzy"
19
20
},
20
21
"dependencies" : {
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # If it doesn't work the first time, it means that you have a freshly created repo.
4
+ # The presskit uses the build branch for its published version. We need to be on that branch in `presskit/`.
5
+ # Do that:
6
+ #
7
+ # cd presskit/ # This is not a folder, but a reference to a remote commit.
8
+ # git submodule update --remote
9
+ # git checkout build
10
+
11
+ # Update.
12
+ cd presskit/
13
+ git checkout build
14
+ git pull --rebase=preserve
15
+
16
+ # Commit.
17
+ cd ..
18
+ git add presskit/
19
+ git commit --message " Update presskit"
You can’t perform that action at this time.
0 commit comments