File tree 3 files changed +16
-9
lines changed
3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
- # secrets for release
2
- .release.env
3
-
4
1
# guidebook store mirror
5
2
/store
6
3
Original file line number Diff line number Diff line change 1
1
# Publishing Production Builds
2
2
3
- 1 . Copy [ release-template.conf] ( release-template.conf ) to ` .release.conf `
4
- at the top level, and update it with your secrets.
3
+ ## Gather Secrets
5
4
6
- 2 . Install dependencies:
5
+ Copy [ release-template.conf] ( release-template.conf ) to
6
+ ` ~/.codeflare-release.ebv ` i.e. in your home directory, and update it
7
+ with your secrets.
8
+
9
+ TODO explain how to get Apple code signing secrets.
10
+
11
+ ## Install Dependencies
7
12
8
13
``` shell
9
14
npm install -g release-it @release-it/conventional-changelog @release-it/bumper dotenv-cli
10
15
```
11
16
12
- 3 . Run ` release-it ` :
17
+ # Release!
18
+
19
+ 1 . It is recommended that you do this from a fresh clone, so that no
20
+ development artifacts find their way into a production build.
21
+ 2 . Do not run ` release-it ` directly, instead use the npm script from
22
+ the top level of this repository.
13
23
14
24
``` shell
15
- release-it
25
+ npm run release
16
26
```
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " dist/headless/codeflare.min.js" ,
6
6
"scripts" : {
7
+ "release" : " dotenv -e ~/.codeflare-release.env release-it --" ,
7
8
"watch:source" : " tsc --build . --watch" ,
8
9
"compile" : " npx tsc --build . && npx kui-babel && npx kui-prescan" ,
9
10
"compile:clean" : " tsc --build tsconfig.json --clean" ,
89
90
"release-it" : {
90
91
"hooks" : {
91
92
"before:release" : [
92
- " if [ ! -f .release.env ]; then echo 'Missing .release.env. Copy and modify docs/release/release-template.env' exit 1; fi" ,
93
93
" npm ci" ,
94
94
" dotenv -e .release.env npm run build:electron:all"
95
95
]
You can’t perform that action at this time.
0 commit comments