Комментарии:
Hi thanks for the video.. i have one problm like when i am running on my feature branch the Tag version is 1.0.1, whn merging with the Develop Branch its getting changed to 271.1.0,but i want to be with 1.0.1 version for the Client SDK and the Data N Service Dll... but why its getting changed? any idea
ОтветитьCan you post your git hook file here? prepare-commit-msg
it complain "sed: -e expression #1, char 2: extra characters after command"
here is my file content
#!/bin/sh
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD 2> /dev/null | grep -oE "[a-z]+[/]")
if [ "$BRANCH_NAME" = "feature/" ]; then
sed -i.bak -e "ls/$/[+semver: minor]/" $1
fi
Instead of using a Git hook which every developer needs to configure wouldn't it be better to control this via the GitVersion.yml as well?
branches:
feature:
increment: Minor
I don't understand why my minor 'feature' never changes
ОтветитьExcellent video! Thank you!
Ответить