mirror of
https://github.com/nick-fields/retry.git
synced 2026-02-11 07:35:26 +00:00
major: initial release
This commit is contained in:
5
.github/workflows/ci_cd.yml
vendored
5
.github/workflows/ci_cd.yml
vendored
@@ -62,11 +62,12 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Release
|
- name: Release
|
||||||
id: release
|
id: semantic
|
||||||
uses: cycjimmy/semantic-release-action@v2
|
uses: cycjimmy/semantic-release-action@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Tag
|
- name: Tag
|
||||||
run: git tag -f zzz && git push origin zzz
|
run: git tag -f v${MAJOR_VERSION} && git push origin v${MAJOR_VERSION}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
MAJOR_VERSION: ${{ steps.semantic.outputs.new_release_major_version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user