Skip to content

Commit

Permalink
Updated the create-release-tag.yaml file to grab the old release tag …
Browse files Browse the repository at this point in the history
…based on creation date. (#452)
  • Loading branch information
mholder6 authored Dec 9, 2024
1 parent d987799 commit 35f32e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Get latest tag
id: get_tag
run: |
echo "old_tag_name=$(git ls-remote --tags origin | awk -F'/' '{print $3}' | grep -v '{}' | sort -V | tail -n1)" >> $GITHUB_OUTPUT
echo "old_tag_name=$(git for-each-ref --sort=creatordate --format '%(refname)' refs/tags | awk -F'/' '{print $3}' | tail -n1)" >> $GITHUB_OUTPUT
- name: print tag
id: print_tag
run: |
Expand Down

0 comments on commit 35f32e4

Please sign in to comment.