Skip to content

Commit e08c943

Browse files
committed
Publish
1 parent 00c8937 commit e08c943

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
if: steps.install-ucm.outputs.ucm-version != ''
2121
run: echo ${{ steps.install-ucm.outputs.ucm-version }}
2222
- name: Tag version
23-
if: ${{ github.event_name == 'push' }}
23+
if: ${{ github.event_name == 'push' && github.ref == 'refs/head/main'}}
2424
run: |
2525
echo "Tagging version: ${{ steps.install-ucm.outputs.ucm-version}}"
26-
# git tag v${{ steps.install-ucm.outputs.ucm-version }}
27-
# git tag --force v1 v${{ steps.install-ucm.outputs.ucm-version }}
28-
# git push origin --tags
26+
git tag v${{ steps.install-ucm.outputs.ucm-version }}
27+
git tag --force v1 v${{ steps.install-ucm.outputs.ucm-version }}
28+
git push origin --tags

0 commit comments

Comments
 (0)