mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: auto update safari version
This commit is contained in:
parent
4cf15aa32f
commit
06e39bdb29
2 changed files with 4 additions and 0 deletions
3
Makefile
3
Makefile
|
|
@ -9,6 +9,9 @@ update-icons:
|
|||
node scripts/resolve-languages-map
|
||||
node scripts/generate-icon-index
|
||||
|
||||
version-safari:
|
||||
sed -i '' -E 's/MARKETING_VERSION = .*;/MARKETING_VERSION = $(RAW_VERSION);/' Safari/Gitako/Gitako.xcodeproj/project.pbxproj
|
||||
|
||||
build:
|
||||
rm -rf dist
|
||||
yarn build
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"debug-firefox": "web-ext run --source-dir=dist --firefox-profile=firefox-profile --profile-create-if-missing --keep-profile-changes --start-url https://github.com/EnixCoda/Gitako",
|
||||
"analyse-bundle": "ANALYSE= NODE_ENV=production webpack",
|
||||
"postinstall": "node scripts/fix-deps",
|
||||
"preversion": "make version-safari && git add .",
|
||||
"build": "VERSION=v$(node scripts/get-version.js) NODE_ENV=production webpack",
|
||||
"roll": "make release",
|
||||
"test": "yarn run test:parallel && yarn run test:non-parallel",
|
||||
|
|
|
|||
Loading…
Reference in a new issue