mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
build: replace version
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user