Skip to content

Commit

Permalink
Update CI pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Shreyas Rao <[email protected]>
  • Loading branch information
shreyas-s-rao committed Sep 19, 2020
1 parent 78ce98c commit 4698871
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .ci/update_version
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ echo "git diff:"
git --no-pager diff

echo
echo "Publishing version change"
git diff-index --quiet HEAD || git commit -am "Updated etcd image version to $VERSION"
git --no-pager log -1
if git diff-index --quiet HEAD; [ $? -eq 0 ] ; then
echo "No version change"
else
echo "Publishing version change"
git commit -am "Updated etcd image version to $VERSION" || git --no-pager log -1
fi

0 comments on commit 4698871

Please sign in to comment.