Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Only tag real releases in git
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Manno authored and Mario Manno committed May 6, 2020
1 parent 35249b9 commit edf8925
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ git clone "$base_url/quarks-helm.git" ./updated/ && \
cp -a helm/quarks-job*.tgz updated/ && \
"$GIT_ROOT"/bin/publish-helm-repo

echo "Tag Github Commit with $ARTIFACT_VERSION"
git tag -a "$ARTIFACT_VERSION" -m "tag $ARTIFACT_VERSION"
git push --quiet "$base_url/quarks-job.git" "$ARTIFACT_VERSION" > /dev/null 2>&1
if [ "$TRAVIS_BRANCH" = "master" ]; then
echo "Tag Github Commit with $ARTIFACT_VERSION"
git tag -a "$ARTIFACT_VERSION" -m "tag $ARTIFACT_VERSION"
git push --quiet "$base_url/quarks-job.git" "$ARTIFACT_VERSION" > /dev/null 2>&1
fi

0 comments on commit edf8925

Please sign in to comment.