I added a hook named pre-flow-release-delete then run git flow delete, in the sample the annotation say the version provided to hook is including the version prefix, but I can't see this prefix.
Reproduction Hook
#!/bin/bash
#
# Runs before git flow release delete
#
# Positional arguments:
# $1 The version (including the version prefix)
# $2 The origin remote
# $3 The full branch name (including the release prefix)
#
# The following variables are available as they are exported by git-flow:
#
# MASTER_BRANCH - The branch defined as Master
# DEVELOP_BRANCH - The branch defined as Develop
VERSION=$1
ORIGIN=$2
BRANCH=$3
echo $VERSION
Reproduction Commands
# version prefix is "v"
git flow release start 1.5.0
git flow delete
I added a hook named
pre-flow-release-delete
then rungit flow delete
, in the sample the annotation say the version provided to hook is including the version prefix, but I can't see this prefix.Reproduction Hook
Reproduction Commands