Skip to content

Commit

Permalink
Fix Hotfix branch creation
Browse files Browse the repository at this point in the history
  • Loading branch information
vvolkgang committed Dec 18, 2024
1 parent f6bd467 commit d6ffd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Create Hotfix Branch
if: inputs.release_type == 'Hotfix'
run: |
latest_tag=$(git describe --tags --abbrev=0)
latest_tag=$(git tag -l --sort=-creatordate | head -n 1)
if [ -z "$latest_tag" ]; then
echo "::error::No tags found in the repository"
exit 1
Expand Down

0 comments on commit d6ffd16

Please sign in to comment.