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 4747 - name : Bump and tag project
4848 run : bash ci/scripts/bump-and-tag.bash
4949 env :
50+ LIVE_RUN : ${{ inputs.live-run || false }}
5051 VERSION : ${{ steps.create-release-branch.outputs.version }}
5152 BUMP_DEPS_VERSION : ${{ inputs.zenoh-version }}
5253 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
67version=${VERSION:? input VERSION is required}
78# Dependencies' pattern
@@ -65,7 +66,9 @@ if [[ "$bump_deps_pattern" != '' ]]; then
6566 fi
6667fi
6768
68- git tag --force " $version " -m " v$version "
69+ if [[ ${live_run} ]]; then
70+ git tag --force " $version " -m " v$version "
71+ fi
6972git log -10
7073git show-ref --tags
7174git push origin
You can’t perform that action at this time.
0 commit comments