Skip to content

Commit

Permalink
version command for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
KentoNishi committed May 15, 2024
1 parent 00fff22 commit 9d48dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
cd firefox-mv2
apt install jq
jq '.version = env.VERSION' package.json > package.json.tmp && mv package.json.tmp package.json
VERSION=$(echo -n "${{ github.ref }}" | sed 's/[refs\/tagv]//g' | sed 's/-.*//') jq '.version = env.VERSION' package.json > package.json.tmp && mv package.json.tmp package.json
yarn
yarn update:list
yarn build:production
Expand All @@ -27,7 +27,7 @@ jobs:
cd chrome-mv3
yarn
yarn update:list
VERSION=$(echo -n ${{ github.ref }} | sed 's/[refs\/tagv]//g') yarn build:chrome
VERSION=$(echo -n "${{ github.ref }}" | sed 's/[refs\/tagv]//g' | sed 's/-.*//') yarn build:chrome
yarn package
- name: Upload Chrome build to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 9d48dfd

Please sign in to comment.