mirror of
https://github.com/Icinga/icinga-php-library.git
synced 2025-07-20 12:14:45 +02:00
make-release.sh: Fail if version branch already exists
This commit is contained in:
parent
703a121607
commit
ffd1e1d5a3
@ -23,7 +23,7 @@ if [[ "$TAG" -ne "0" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
BRANCH="stable/$VERSION"
|
BRANCH="stable/$VERSION"
|
||||||
git checkout -b "$BRANCH"
|
git checkout -b "$BRANCH" || fail "Version branch $BRANCH already exists"
|
||||||
git rm -rf vendor
|
git rm -rf vendor
|
||||||
rm -rf vendor
|
rm -rf vendor
|
||||||
rm -f composer.lock
|
rm -f composer.lock
|
||||||
|
Loading…
x
Reference in New Issue
Block a user