1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-23 20:24:42 -05:00
sub2clash/.woodpecker/release.yml
2024-04-23 17:28:05 +08:00

21 lines
465 B
YAML

when:
- event: tag
ref: refs/tags/v*
steps:
- name: build
image: goreleaser/goreleaser:latest
commands:
- goreleaser release --clean --skip publish
- mkdir release
- mv dist/*.tar.gz release/
- mv dist/*.zip release/
- name: release
image: woodpeckerci/plugin-gitea-release
settings:
files: release/*
api_key:
from_secret: forgejo_token
base-url: https://git.nite07.com
draft: true