Skip to content

Commit

Permalink
fix: apache yetus
Browse files Browse the repository at this point in the history
Signed-off-by: yash-zededa <yash@zededa.com>
  • Loading branch information
yash-zededa committed Oct 10, 2024
1 parent 3f0bedb commit 756ab81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tools/lts-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ if is_rc_tag; then
base_version="${latest_tag%-rc*}"
new_tag="${base_version}-lts"
echo "Creating LTS tag: $new_tag from the commit of $latest_tag"

# Create the LTS tag from the commit of the RC release
if git tag -a "$new_tag" "$latest_tag" -m "Release $new_tag"; then
echo "Tagged new version: $new_tag"
Expand All @@ -67,12 +66,10 @@ if is_rc_tag; then
else
# If the latest tag is not an RC tag
echo "Latest tag is not an RC tag. Incrementing the patch version."

# Increment the patch version
new_version=$(increment_patch_version "$latest_tag")
new_tag="${new_version}-lts"
echo "Creating LTS tag: $new_tag from the latest non-RC tag"

# Create the LTS tag from the latest non-RC release
if git tag -a "$new_tag" -m "Release $new_tag"; then
echo "Tagged new version: $new_tag"
Expand Down

0 comments on commit 756ab81

Please sign in to comment.