Skip to content

Commit

Permalink
Update Release_Build_Push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yugaa22 authored Mar 22, 2024
1 parent 9949dc6 commit e66a670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Release_Build_Push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
branch_name=$INPUT_BRANCH_NAME
git fetch --tags -q
latest_tag=$(git tag -l | grep '${branch_name}_rc*' | sort -V | tail -n1)
latest_tag=$(git tag -l | grep "${branch_name}_rc*" | sort -V | tail -n1)
rc_number=$(echo "$latest_tag" | sed 's/.*_rc\([0-9]*\)$/\1/')
next_rc=$((rc_number + 1))
new_tag=$(echo "$latest_tag" | sed "s/rc${rc_number}/rc${next_rc}/")
Expand Down

0 comments on commit e66a670

Please sign in to comment.