Skip to content

Commit 3e2417c

Browse files
authored
chore: dont bump nightly version (AztecProtocol#16841)
We don’t need to manually bump the nightly tag because the release please manifest version on `next`​ is now correct. Fix TMNT-283
2 parents 43e48b3 + d30c67f commit 3e2417c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/nightly-release-tag.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,8 @@ jobs:
2727
git config --global user.email "[email protected]"
2828
git config --global user.name "AztecBot"
2929
current_version=$(jq -r '."."' .release-please-manifest.json)
30-
# Compute the next major version. e.g. if current version is 1.2.3, next major version is 2.0.0.
31-
if [[ "$current_version" =~ ^([0-9]+)\.([0-9]+)\.([0-9]+)$ ]]; then
32-
major=$(( ${BASH_REMATCH[1]} + 1 ))
33-
next_major_version="${major}.0.0"
34-
else
35-
echo "Error: Current version format is invalid: $current_version"
36-
exit 1
37-
fi
3830
echo "Current version: $current_version"
39-
echo "Next version: $next_major_version"
40-
nightly_tag="v${next_major_version}-nightly.$(date -u +%Y%m%d)"
31+
nightly_tag="v${current_version}-nightly.$(date -u +%Y%m%d)"
4132
echo "Nightly tag: $nightly_tag"
4233
# Tag and push.
4334
git tag -a "$nightly_tag" -m "$nightly_tag"

0 commit comments

Comments
 (0)