fix: Fixed tag pushing and changelog

This commit is contained in:
2024-10-24 12:07:40 +02:00
parent c91e684f08
commit 5f39966223
2 changed files with 22 additions and 4 deletions

View File

@@ -73,18 +73,17 @@ jobs:
major-identifier: "breaking:"
release-branch: ${{ github.head_ref }}
- name: Create Tag
- name: Create & Push Tag
if: github.head_ref == 'master' || github.head_ref == 'dev'
run: |
if [ "${{ github.head_ref }}" == "master" ]; then
git tag ${{ steps.git_version.outputs.version }}
git push origin ${{ steps.git_version.outputs.version }}
elif [ "${{ github.head_ref }}" == "dev" ]; then
git tag ${{ steps.git_version.outputs.version }}-rc
git push origin ${{ steps.git_version.outputs.version }}-rc
fi
- name: Push tag
run: git push origin ${{ steps.git_version.outputs.version }}
- name: Set up Python
uses: actions/setup-python@v5
with: