feat(ci): first attempt for automated releases
This commit is contained in:
parent
040cb19c43
commit
edd4999b73
4 changed files with 67 additions and 2 deletions
|
|
@ -29,3 +29,16 @@ build:
|
|||
name: "${CI_PROJECT_NAME}"
|
||||
paths:
|
||||
- "gogitlabber"
|
||||
|
||||
release:
|
||||
stage: "release"
|
||||
needs:
|
||||
- "build"
|
||||
image:
|
||||
name: "goreleaser/goreleaser:v2.8.2"
|
||||
entrypoint: [""]
|
||||
rules:
|
||||
- if: "$CI_COMMIT_TAG"
|
||||
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