build: replace version

This commit is contained in:
himself65
2023-05-10 22:23:29 -05:00
parent 689f615b11
commit 6d1345ffe5
2 changed files with 4 additions and 2 deletions
+4
View File
@@ -32,6 +32,8 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Replace Version
run: ./scripts/replace-version.sh ${{ env.RELEASE_VERSION }}
- name: generate-assets
working-directory: apps/electron
run: yarn generate-assets
@@ -91,6 +93,8 @@ jobs:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Replace Version
run: ./scripts/replace-version.sh ${{ env.RELEASE_VERSION }}
- uses: actions/download-artifact@v3
with:
name: before-make-web-static
-2
View File
@@ -6,5 +6,3 @@ for DIR in $(yarn workspaces list --json | jq -r '.location'); do
jq ".version = \"$1\"" "$DIR"/package.json > tmp.json && mv tmp.json "$DIR"/package.json
fi
done
git add . && git commit -m "v$1"