mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-14 20:30:31 +02:00
fix: alternative attempt on the fix
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -71,10 +71,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
minor-identifier: "feat:"
|
minor-identifier: "feat:"
|
||||||
major-identifier: "breaking:"
|
major-identifier: "breaking:"
|
||||||
|
release-branch: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Create Tag
|
- name: Create Tag
|
||||||
if: github.head_ref == 'master' || github.head_ref == 'dev'
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
|
||||||
run: git tag ${{ steps.git_version.outputs.version }}
|
run: |
|
||||||
|
if [ "${{ github.ref }}" == "refs/heads/master" ]; then
|
||||||
|
git tag ${{ steps.git_version.outputs.version }}
|
||||||
|
elif [ "${{ github.ref }}" == "refs/heads/dev" ]; then
|
||||||
|
git tag ${{ steps.git_version.outputs.version }}-rc
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Push tag
|
- name: Push tag
|
||||||
run: git push origin ${{ steps.git_version.outputs.version }}
|
run: git push origin ${{ steps.git_version.outputs.version }}
|
||||||
|
|||||||
Reference in New Issue
Block a user