You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
684 B

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 ]