1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-09 11:50:11 +00:00

fix goreleaser command order

This commit is contained in:
Harvey Tindall 2021-01-05 17:31:40 +00:00
parent 0934174ffc
commit 1d2029dad3
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -11,13 +11,13 @@ before:
- mkdir -p data - mkdir -p data
- cp -r static data/web - cp -r static data/web
- cp -r css data/web/ - cp -r css data/web/
- npm install
- cp node_modules/a17t/dist/a17t.css data/web/css/ - cp node_modules/a17t/dist/a17t.css data/web/css/
- cp node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 data/web/css/ - cp node_modules/remixicon/fonts/remixicon.css node_modules/remixicon/fonts/remixicon.woff2 data/web/css/
- cp -r html data/ - cp -r html data/
- cp -r lang data/ - cp -r lang data/
- python3 config/fixconfig.py -i config/config-base.json -o data/config-base.json - python3 config/fixconfig.py -i config/config-base.json -o data/config-base.json
- python3 config/generate_ini.py -i config/config-base.json -o data/config-default.ini - python3 config/generate_ini.py -i config/config-base.json -o data/config-default.ini
- npm install
- python3 mail/generate.py -o data/ - python3 mail/generate.py -o data/
- python3 version.py {{.Version}} version.go - python3 version.py {{.Version}} version.go
- bash -c 'npx esbuild ts/*.ts ts/modules/*.ts --outdir=./data/web/js/ --minify' - bash -c 'npx esbuild ts/*.ts ts/modules/*.ts --outdir=./data/web/js/ --minify'