Skip to content

Commit 7334c80

Browse files
hcsa73Henrique Santos
andauthored
Changes to release workflow (#83)
* Add workflow_dispatch trigger * Remove branch check --------- Co-authored-by: Henrique Santos <[email protected]>
1 parent 248b983 commit 7334c80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
tags:
99
- "v*"
10+
workflow_dispatch:
1011

1112
# Releases need permissions to read and write the repository contents.
1213
# GitHub considers creating releases and uploading assets as writing contents.
@@ -17,9 +18,6 @@ jobs:
1718
goreleaser:
1819
runs-on: ubuntu-latest
1920
steps:
20-
- name: Check if tag belongs to main branch
21-
if: endsWith(github.ref, 'main') == false
22-
run: exit -1
2321
- uses: actions/checkout@v4
2422
with:
2523
# Allow goreleaser to access older tag information.

0 commit comments

Comments
 (0)