File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 6060 - name : Bump and tag project
6161 run : bash ci/scripts/bump-and-tag.bash
6262 env :
63+ LIVE_RUN : ${{ inputs.live-run || false }}
6364 VERSION : ${{ steps.create-release-branch.outputs.version }}
6465 BUMP_DEPS_VERSION : ${{ inputs.zenoh-version }}
6566 BUMP_DEPS_PATTERN : ${{ inputs.zenoh-version && 'zenoh.*' || '' }}
Original file line number Diff line number Diff line change 22
33set -xeo pipefail
44
5+ readonly live_run=${LIVE_RUN:- false}
56# Release number
67readonly version=${VERSION:? input VERSION is required}
78# Dependencies' pattern
@@ -59,7 +60,9 @@ if [[ "$bump_deps_pattern" != '' ]]; then
5960 fi
6061fi
6162
62- git tag --force " $version " -m " v$version "
63+ if [[ ${live_run} ]]; then
64+ git tag --force " $version " -m " v$version "
65+ fi
6366git log -10
6467git show-ref --tags
6568git push origin
You can’t perform that action at this time.
0 commit comments