Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Akamig committed Sep 3, 2024
1 parent bcae7f6 commit 79b661a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
then
sed "s/Please replace it/${{ secrets.APPLE_TEAM_ID }}/g" electron-builder.main.yml > temp2.txt
mv temp2.txt electron-builder.main.yml
elif [[ ""$"{{ startsWith(github.event.ref, 'refs/heads/preview/') }}" == true ]]
elif [[ "${{ startsWith(github.event.ref, 'refs/heads/preview/') }}" == true ]]
then
timestamp=$(date +%y%m%d%H%M%S)
version=$(jq -r .version package.json | awk -F'.' '{print $1"."$2}')
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
sh ./scripts/release.sh main ${{ matrix.packCmd }}
aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DISTRIBUTION_ID }} --paths "/main/launcher/latest.yml"
aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DISTRIBUTION_ID }} --paths "/main/launcher/latest-mac.yml"
elif [[ ""$"{{ startsWith(github.event.ref, 'refs/heads/preview/') }}" == true ]]
elif [[ "${{ startsWith(github.event.ref, 'refs/heads/preview/') }}" == true ]]
then
sh ./scripts/release.sh previewnet ${{ matrix.packCmd }}
else
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"build": "yarn codegen && webpack --env NODE_ENV=development --env target=render && webpack --env NODE_ENV=development --env target=main",
"build-main": "yarn codegen && webpack --env NODE_ENV=production --env target=render --env DEFAULT_NETWORK=main && webpack --env NODE_ENV=production --env target=main --env DEFAULT_NETWORK=main",
"build-internal": "yarn codegen && webpack --env NODE_ENV=production --env target=render --env DEFAULT_NETWORK=internal && webpack --env NODE_ENV=production --env target=main --env DEFAULT_NETWORK=internal",
"build-preview": "yarn codegen && webpack --env NODE_ENV=production --env target=render --env DEFAULT_NETWORK=previewnet && webpack --env NODE_ENV=production --env target=main --env DEFAULT_NETWORK=previewnet",
"build-previewnet": "yarn codegen && webpack --env NODE_ENV=production --env target=render --env DEFAULT_NETWORK=previewnet && webpack --env NODE_ENV=production --env target=main --env DEFAULT_NETWORK=previewnet",
"server": "yarn webpack serve --env NODE_ENV=development --env target=render --hot",
"start": "yarn webpack --env NODE_ENV=development --env target=main && electron ./build/.",
"start:v2": "yarn webpack --env NODE_ENV=development --env target=main && electron ./build/. --v2",
"pack-local": "yarn run build-internal && yarn run electron-builder -mw --x64 --config ./electron-builder.local.yml",
"pack-internal": "yarn run build-internal && yarn run electron-builder -mwl --arm64 --x64 --config ./electron-builder.internal.yml",
"pack-preview": "yarn run build-preview && yarn run electron-builder -mwl --arm64 --x64 --config ./electron-builder.preview.yml",
"pack-previewnet": "yarn run build-preview && yarn run electron-builder -mwl --arm64 --x64 --config ./electron-builder.preview.yml",
"pack-main": "yarn run build-main && yarn run electron-builder -mwl --arm64 --x64 --config ./electron-builder.main.yml",
"release-preview": "sh ./scripts/release.sh preview",
"release-previewnet": "sh ./scripts/release.sh preview",
"release-internal": "sh ./scripts/release.sh internal",
"release-main": "sh ./scripts/release.sh main",
"dev": "concurrently --kill-others \"yarn server\" \"yarn start\"",
Expand Down

0 comments on commit 79b661a

Please sign in to comment.