Skip to content

Commit

Permalink
auto version
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed Dec 23, 2024
1 parent d1909e0 commit aa36491
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:

- name: Build extensions
run: |
VERSION=$(echo -n ${{ github.ref }} | sed 's/[refs\/tagv]//g') yarn build
sudo apt install jq
export VERSION=$(echo -n ${{ github.ref }} | sed 's/[refs\/tagv]//g')
jq '.version = env.VERSION' package.json > package.json.tmp && mv package.json.tmp package.json
jq '.version = env.VERSION' src/manifest.json > src/manifest.json.tmp && mv src/manifest.json.tmp src/manifest.json
yarn build
yarn package
- name: Upload Chrome package to release
Expand Down

0 comments on commit aa36491

Please sign in to comment.