This commit is contained in:
parent
6b43f94b78
commit
a7fcf316d8
14
.drone.yml
14
.drone.yml
@ -11,6 +11,9 @@ steps:
|
||||
commands:
|
||||
- git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources
|
||||
- cd sources && git checkout $DRONE_COMMIT
|
||||
when:
|
||||
branch:
|
||||
- drone-builds
|
||||
|
||||
- name: build
|
||||
image: alpine
|
||||
@ -19,6 +22,10 @@ steps:
|
||||
- rm -rf sources/.git
|
||||
- mv sources AchievementInfo
|
||||
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
|
||||
when:
|
||||
branch:
|
||||
- drone-builds
|
||||
# event: tag
|
||||
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
@ -28,6 +35,7 @@ steps:
|
||||
from_secret: gitea_token
|
||||
files: test.zip
|
||||
draft: true
|
||||
|
||||
when:
|
||||
event: tag
|
||||
when:
|
||||
branch:
|
||||
- drone-builds
|
||||
# event: tag
|
||||
|
Loading…
Reference in New Issue
Block a user