mirror of
https://github.com/docker/compose.git
synced 2025-07-24 14:14:35 +02:00
Merge pull request #2208 from dnephin/another_release_script_fix
Fix check for tags in release script `make-branch`
This commit is contained in:
commit
cd0b63879b
@ -46,7 +46,7 @@ if [ -z "$REMOTE" ]; then
|
||||
fi
|
||||
|
||||
# handle the difference between a branch and a tag
|
||||
if [ -z "$(git name-rev $BASE_VERSION | grep tags)" ]; then
|
||||
if [ -z "$(git name-rev --tags $BASE_VERSION | grep tags)" ]; then
|
||||
BASE_VERSION=$REMOTE/$BASE_VERSION
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user