2026-05-14 20:10:19 -05:00
|
|
|
when:
|
|
|
|
|
- event: tag
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- name: build-release-assets
|
2026-09-24 01:33:03 +00:00
|
|
|
image: golang:1.25.5
|
2026-05-14 20:10:19 -05:00
|
|
|
commands:
|
2026-09-23 15:03:20 +00:00
|
|
|
- bash scripts/build-release.sh "$CI_COMMIT_TAG" dist
|
2026-05-14 20:10:19 -05:00
|
|
|
|
|
|
|
|
- name: publish-release
|
|
|
|
|
image: woodpeckerci/plugin-release
|
|
|
|
|
depends_on:
|
|
|
|
|
- build-release-assets
|
|
|
|
|
settings:
|
|
|
|
|
api_key:
|
|
|
|
|
from_secret: GITEA_RELEASE_TOKEN
|
|
|
|
|
files:
|
2026-09-23 15:03:20 +00:00
|
|
|
- dist/audita-*-linux-amd64
|
|
|
|
|
- dist/audita-*-linux-arm64
|
2026-09-28 01:16:52 +00:00
|
|
|
note: docs/releases/${CI_COMMIT_TAG}.md
|
2026-05-14 20:10:19 -05:00
|
|
|
checksum: sha256
|
|
|
|
|
checksum-file: SHA256SUMS
|
|
|
|
|
checksum-flatten: true
|
|
|
|
|
file-exists: skip
|
|
|
|
|
overwrite: false
|
|
|
|
|
prerelease: false
|