Skip to content

Commit ab38d42

Browse files
authored
Merge pull request #5 from leandro-lucarella-frequenz/fix-build-tags
ci: Fix building of tags
2 parents d81bd29 + c2b76f5 commit ab38d42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
merge_group:
55
pull_request:
66
push:
7+
tags:
8+
- '*'
79
branches-ignore:
810
# Ignore pushes to merge queues.
911
# We only want to test the merge commit (`merge_group` event), the hashes
@@ -193,7 +195,7 @@ jobs:
193195
create-github-release:
194196
needs: ["publish-docs"]
195197
# Create a release only on tags creation
196-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
198+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
197199
permissions:
198200
# We need write permissions on contents to create GitHub releases and on
199201
# discussions to create the release announcement in the discussion forums

0 commit comments

Comments
 (0)