[CI] Strip source of comments in releases

This commit is contained in:
CanadaHonk 2022-02-03 23:06:49 +00:00 committed by GitHub
parent 02b393b86e
commit fce71429bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,7 @@ jobs:
npm i -g asar npm i -g asar
bash scripts/injectPolyfills.sh bash scripts/injectPolyfills.sh
sed -i -e "s/nightly/nightly-$(git rev-parse HEAD | cut -c 1-7)/" src/index.js sed -i -e "s/nightly/nightly-$(git rev-parse HEAD | cut -c 1-7)/" src/index.js
bash scripts/strip.sh
npx asar pack src app.asar npx asar pack src app.asar
- name: Upload artifact - name: Upload artifact
@ -107,4 +108,4 @@ jobs:
VERSION: 'nightly' VERSION: 'nightly'
NAME: 'Nightly' NAME: 'Nightly'
#FILES: app.asar minified_testing_dont_use.asar #FILES: app.asar minified_testing_dont_use.asar
FILES: app.asar FILES: app.asar