Skip to content

Commit

Permalink
fix: CE 1124 (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayr974 authored Oct 16, 2024
1 parent 46d6c1d commit d86e33e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: get_latest_tag
run: |
git fetch origin main --tags
latest_tag=$(git describe --tags --abbrev=0 origin/main)
latest_tag=$(git tag --list --sort=-v:refname --merged | head -n 1)
echo "::set-output name=latest_tag::$latest_tag"
echo "Latest tag: $latest_tag"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-branch-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: latest_tag
run: |
git fetch --tags
latest_tag=$(git tag --sort=-creatordate | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
latest_tag=$(git tag --list --sort=-v:refname --merged | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -n 1)
if [ -z "$latest_tag" ]; then
echo "No previous tags found, starting with v0.1.0"
latest_tag="v0.0.0"
Expand Down

0 comments on commit d86e33e

Please sign in to comment.