Skip to content

Commit

Permalink
add tag for major version
Browse files Browse the repository at this point in the history
  • Loading branch information
odanado committed Jun 15, 2024
1 parent 8bfe951 commit 02f9e29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: .tool-versions
- uses: fregante/setup-git-user@v2

- run: npm ci

Expand All @@ -31,9 +32,10 @@ jobs:
with:
commit_message: "build assets"

- uses: fregante/setup-git-user@v2
- run: npm version ${{ github.event.inputs.type }}

- run: git tag -a v$(jq -r '.version' package.json | awk -F. '{print $1}') -m ""

- run: git push --follow-tags

- run: gh release create v$(jq -r '.version' package.json)

0 comments on commit 02f9e29

Please sign in to comment.