Skip to content

Commit

Permalink
create tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yuetloo committed May 2, 2023
1 parent cb52e7f commit 1b9a057
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/create-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
npm version ${{ github.event.inputs.version }}
cd ../vue-app
npm version ${{ github.event.inputs.version }}
export VERSION=$(node -e "const pkg=require('./package.json'); console.log(pkg.version)")
export VERSION_NUMBER=$(node -e "const pkg=require('./package.json'); console.log(pkg.version)")
cd ..
export VERSION="v${VERSION_NUMBER}"
git add contracts/package.json vue-app/package.json subgraph/package.json
git commit -m "${VERSION}"
git push origin
git tag -a "${VERSION}" -m "${VERSION}"
git push origin --tags

0 comments on commit 1b9a057

Please sign in to comment.