mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
Merge pull request #120 from wagoid/ci/use-atomic-pushes
fix: perform an atomic push when releasing
This commit is contained in:
commit
ca2b1bb13c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -64,7 +64,7 @@ jobs:
|
||||||
- name: Push to docker registry
|
- name: Push to docker registry
|
||||||
run: |
|
run: |
|
||||||
docker push $DOCKER_REGISTRY_URL/wagoid/commitlint-github-action:$VERSION
|
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
|
- name: Create a git tag for the major version
|
||||||
run: |
|
run: |
|
||||||
major=`echo $VERSION | sed -E 's/([0-9]+)(.+)/\1/'`
|
major=`echo $VERSION | sed -E 's/([0-9]+)(.+)/\1/'`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue