Skip to content

Commit eb66095

Browse files
author
Nick Fields
committed
major: initial release
1 parent d4e983a commit eb66095

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ jobs:
6262
- name: Install dependencies
6363
run: npm ci
6464
- name: Release
65-
id: release
65+
id: semantic
6666
uses: cycjimmy/semantic-release-action@v2
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
- name: Tag
70-
run: git tag -f zzz && git push origin zzz
70+
run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION}
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}

0 commit comments

Comments
 (0)