[skip ci] Won't create 'r...' tag if building development version
This commit is contained in:
parent
48fb4a2e60
commit
b3dcf85dc6
1 changed files with 2 additions and 1 deletions
1
.github/workflows/build_push_preview.yml
vendored
1
.github/workflows/build_push_preview.yml
vendored
|
|
@ -42,6 +42,7 @@ jobs:
|
||||||
echo "COMMIT_COUNT=$commit_count" >> $GITHUB_OUTPUT
|
echo "COMMIT_COUNT=$commit_count" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create Tag 'r${{ steps.prepare_build.outputs.COMMIT_COUNT }}'
|
- name: Create Tag 'r${{ steps.prepare_build.outputs.COMMIT_COUNT }}'
|
||||||
|
if: ${{ github.ref }} == "refs/heads/master"
|
||||||
run: |
|
run: |
|
||||||
git tag "r${{ steps.prepare_build.outputs.COMMIT_COUNT }}"
|
git tag "r${{ steps.prepare_build.outputs.COMMIT_COUNT }}"
|
||||||
git push origin "r${{ steps.prepare_build.outputs.COMMIT_COUNT }}"
|
git push origin "r${{ steps.prepare_build.outputs.COMMIT_COUNT }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue