Skip to content

Commit db43833

Browse files
Patrick WongPatrick Wong
authored andcommitted
DEVOPS-438 - push each tag one at a time, in case one of the tags is bad
1 parent 45c4804 commit db43833

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

git-to-git.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ do
126126

127127
git push --all origin
128128
git push --tags origin
129+
130+
git tag | sort | while read GIT_TAG ; do
131+
echo "GIT_TAG=${GIT_TAG}"
132+
git push origin ${GIT_TAG} --force
133+
done
134+
129135
popd #popping WORKSPACE_REPO
130136

131137
done #done iterating over tuples

0 commit comments

Comments
 (0)