File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 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-
41# guidebook store mirror
52/store
63
Original file line number Diff line number Diff line change 11# Publishing Production Builds
22
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
54
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
712
813``` shell
914npm install -g release-it @release-it/conventional-changelog @release-it/bumper dotenv-cli
1015```
1116
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.
1323
1424``` shell
15- release-it
25+ npm run release
1626```
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " dist/headless/codeflare.min.js" ,
66 "scripts" : {
7+ "release" : " dotenv -e ~/.codeflare-release.env release-it --" ,
78 "watch:source" : " tsc --build . --watch" ,
89 "compile" : " npx tsc --build . && npx kui-babel && npx kui-prescan" ,
910 "compile:clean" : " tsc --build tsconfig.json --clean" ,
8990 "release-it" : {
9091 "hooks" : {
9192 "before:release" : [
92- " if [ ! -f .release.env ]; then echo 'Missing .release.env. Copy and modify docs/release/release-template.env' exit 1; fi" ,
9393 " npm ci" ,
9494 " dotenv -e .release.env npm run build:electron:all"
9595 ]
You can’t perform that action at this time.
0 commit comments