Skip to content

Commit 092855c

Browse files
committed
Fix branch reference in stage-release-candidate.yml
Updated the branch reference in the release candidate workflow to use the dynamic branch variable.
1 parent 83a7245 commit 092855c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/stage-release-candidate.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,14 @@ jobs:
180180
export MODULE="Pekko (Core)"
181181
export VERSION=$(echo $REF | sed -e "s/.\(.*\)-.*/\\1/")
182182
export RC_VERSION=$(echo $REF | tail -c +2)
183+
if [[ "$VERSION" =~ ^1\.([0-9]+)\.[0-9]+$ ]]; then
184+
export BRANCH="1.${BASH_REMATCH[1]}.x"
185+
else
186+
export BRANCH="main"
187+
fi
183188
echo "VERSION=$VERSION"
184189
echo "RC_VERSION=$RC_VERSION"
190+
echo "BRANCH=$BRANCH"
185191
186192
export DISCUSS=$(curl 'https://lists.apache.org/api/stats.lua?list=dev&domain=pekko.apache.org' | jq ".emails.[] | .subject, .mid" | grep -A1 "$MODULE $VERSION" | tail -1 | tr -d \")
187193
echo "DISCUSS=$DISCUSS"
@@ -238,7 +244,7 @@ jobs:
238244
The VOTE will pass if we have more positive votes than negative votes
239245
and there must be a minimum of 3 approvals from Pekko PMC members.
240246
Anyone voting in favour of the release, could you please provide a list of the checks you have done?
241-
The vote will be left open until [VOTE_ENDS_UTC].
247+
The vote will be left open for 72hrs.
242248
243249
[ ] +1 approve
244250
[ ] +0 no opinion
@@ -258,7 +264,7 @@ jobs:
258264
259265
To compile from the source, please refer to:
260266
261-
https://github.com/apache/pekko/blob/1.5.x/README.md#building-from-source
267+
https://github.com/apache/pekko/blob/$BRANCH/README.md#building-from-source
262268
263269
To verify the binary build, please refer to:
264270

0 commit comments

Comments
 (0)