Browse Source

Attempt to fix workflow

master 0.1a
Abheek Dhawan 3 years ago
parent
commit
736d3ad53e
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 17
      .woodpecker/release.yml

17
.woodpecker/release.yml

@ -1,12 +1,11 @@
pipeline: pipeline:
prep-release: prep-release:
image: alpine:latest image: alpine:latest
commands: commands:
- mkdir -p modAchievementStatTrak - mkdir -p modAchievementStatTrak
- mv content/ modAchievementStatTrak/ - mv content/ modAchievementStatTrak/
- apk update - apk update
- apk add zip -y - apk add zip
- zip -r modAchievementStatTrak.zip modAchievementStatTrak/ - zip -r modAchievementStatTrak.zip modAchievementStatTrak/
when: when:
event: tag event: tag
@ -19,16 +18,4 @@ pipeline:
files: "*.zip" files: "*.zip"
draft: true draft: true
when: when:
tag: *a event: tag
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