Skip to content

Commit e77958a

Browse files
author
dbuddha
committed
chore(): create tags action
1 parent 33702ff commit e77958a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ jobs:
77
create-tag:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
11-
- uses: rickstaa/action-create-tag@v1
10+
- uses: actions/checkout@v2
11+
- name: Bump version and push tag
12+
id: tag_version
13+
uses: mathieudutour/github-tag-action@v6.0
1214
with:
13-
tag: "latest"
14-
message: "Latest release"
15+
github_token: ${{ secrets.GITHUB_TOKEN }}
16+
- name: Create a GitHub release
17+
uses: ncipollo/release-action@v1
18+
with:
19+
tag: ${{ steps.tag_version.outputs.new_tag }}
20+
name: Release ${{ steps.tag_version.outputs.new_tag }}
21+
body: ${{ steps.tag_version.outputs.changelog }}
1522
npm-publish:
1623
name: npm-publish
1724
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)