Skip to content

Commit

Permalink
Merge pull request #120 from wagoid/ci/use-atomic-pushes
Browse files Browse the repository at this point in the history
fix: perform an atomic push when releasing
  • Loading branch information
wagoid committed Mar 2, 2021
2 parents f92748f + 9d00d1e commit ca2b1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Push to docker registry
run: |
docker push $DOCKER_REGISTRY_URL/wagoid/commitlint-github-action:$VERSION
- run: git push --follow-tags origin master
- run: git push --atomic --follow-tags origin master
- name: Create a git tag for the major version
run: |
major=`echo $VERSION | sed -E 's/([0-9]+)(.+)/\1/'`
Expand Down

0 comments on commit ca2b1bb

Please sign in to comment.