ci: changed version format to prefix the version wth v
This commit is contained in:
4
.github/workflows/CreateRelease.yml
vendored
4
.github/workflows/CreateRelease.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(npm run version:show | tail -n 1)
|
VERSION=$(npm run version:show | tail -n 1)
|
||||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
echo "VERSION=v$VERSION" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Get previous release tag
|
- name: Get previous release tag
|
||||||
@@ -116,7 +116,7 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
name: Release ${{ env.VERSION }}
|
name: Release v${{ env.VERSION }}
|
||||||
body_path: release_notes.md
|
body_path: release_notes.md
|
||||||
prerelease: true
|
prerelease: true
|
||||||
env:
|
env:
|
||||||
|
Reference in New Issue
Block a user