mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-04 19:56:49 +02:00
Don't try to commit tags if doing a dry run
Change-Id: I967d6502f6e8cbcefc915f51224c140f418002f6
This commit is contained in:
parent
ec3b489cab
commit
d341e61bbb
@ -60,8 +60,10 @@ else
|
||||
popd
|
||||
fi
|
||||
|
||||
# Commit newly versioned artifacts and issue a tag.
|
||||
git commit -a -m"Tagging $NEW_VERSION"
|
||||
git tag -sm"Tagging $NEW_VERSION" $NEW_VERSION #signed tag
|
||||
if [ $dryRun -eq 0 ]; then
|
||||
# Commit newly versioned artifacts and issue a tag.
|
||||
git commit -a -m"Tagging $NEW_VERSION"
|
||||
git tag -sm"Tagging $NEW_VERSION" $NEW_VERSION #signed tag
|
||||
fi
|
||||
|
||||
# TODO: push?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user