Browse Source

Add release workflow

master
Abheek Dhawan 3 years ago
parent
commit
23c0dcaf6e
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 34
      .woodpecker/release.yml

34
.woodpecker/release.yml

@ -0,0 +1,34 @@
pipeline:
prep-release:
image: alpine:latest
commands:
- mkdir -p modAchievementStatTrak
- mv content/ modAchievementStatTrak/
- apk update
- apk add zip -y
- zip -r modAchievementStatTrak.zip modAchievementStatTrak/
when:
event: tag
release-stable:
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files: "*.zip"
draft: true
when:
tag: *a
release-beta:
image: plugins/github-release
settings:
api_key:
from_secret: github_token
files: "*.zip"
draft: true
prerelease: true
when:
tag:
exclude: [ *a ]
Loading…
Cancel
Save