Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/trunk' into prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor authored and matticbot committed Dec 9, 2024
1 parent 63390e7 commit 319dbce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/files/autorelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ elif [[ "$GITHUB_REF" == "refs/heads/trunk" ]]; then
fi
ROLLING_MODE=true
CURRENT_VER=$( sed -nEe 's/^## \[?([^]]*)\]? - .*/\1/;T;p;q' CHANGELOG.md || true )
if [[ "$CURRENT_VER" != *-alpha ]]; then
# Bump a non-alpha release to the next alpha to avoid confusing version_compare.
CURRENT_VER=${CURRENT_VER%%-*}
CURRENT_VER=${CURRENT_VER%.*}.$(( ${CURRENT_VER##*.} + 1 ))-alpha
fi
GIT_SUFFIX=$( git log -1 --format="%ct.g%h" . )
TAG="$CURRENT_VER+rolling.$GIT_SUFFIX"
else
Expand Down

0 comments on commit 319dbce

Please sign in to comment.