feat(ci): release only when scheduled
This commit is contained in:
parent
58e9595f2a
commit
1454464af0
1 changed files with 3 additions and 1 deletions
|
|
@ -25,7 +25,9 @@ releasing:
|
|||
name: "goreleaser/goreleaser:v2.8.2"
|
||||
entrypoint: [""]
|
||||
rules:
|
||||
- if: "$CI_COMMIT_TAG"
|
||||
# run only if scheduled with this name
|
||||
- if: '$SCHEDULE_NAME == "release"'
|
||||
- when: "never"
|
||||
script:
|
||||
- export GITLAB_TOKEN="$GORELEASER_GITLAB_TOKEN"
|
||||
- "goreleaser release --rm-dist --changelog=changelog.md"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue