File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments