Correctly push tags to Gerrit
The tags were missing from the branch push to Gerrit. Also, tags pushed to Gerrit must be signed, so gpg and git must both be properly configured for this to run now. Change-Id: I97f3a4364f090e1b42ac0fc2ba7554c164013345 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
parent
2f6fa5e4e2
commit
8966e88851
@ -91,7 +91,7 @@ function branch_repo {
|
||||
fi
|
||||
|
||||
# tag branch point at $sha
|
||||
git tag -f $tag $sha
|
||||
git tag -s -m "Branch $branch" -f $tag $sha
|
||||
|
||||
# Push the new goodness back up
|
||||
if [[ "$r" == "starlingx" ]]; then
|
||||
@ -102,7 +102,7 @@ function branch_repo {
|
||||
|
||||
# push
|
||||
if [[ -z $DRY_RUN ]]; then
|
||||
git push gerrit $branch
|
||||
git push --tags gerrit $branch
|
||||
else
|
||||
echo "### skipping push to $branch"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user