Skip to content

Commit

Permalink
release for zip
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 committed Apr 13, 2019
1 parent c053868 commit 1d78707
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,27 @@ pipeline:
rename:
image: alpine
commands:
- mv ./ldn_mitm/ldn_mitm.kip ./ldn_mitm/ldn_mitm_${DRONE_TAG}.kip
- mv ./ldn_mitm/out/ldn_mitm.kip ./ldn_mitm/ldn_mitm_${DRONE_TAG}.kip
- mkdir -p ./ldn_mitm/out/atmosphere/titles/4200000000000010/flags/
- mkdir -p ./ldn_mitm/out/switch/ldnmitm_config/
- cp -r ./ldn_mitm/out/4200000000000010/ ./ldn_mitm/out/atmosphere/titles/
- cp ./ldnmitm_config/ldnmitm_config.nro ./ldn_mitm/out/switch/ldnmitm_config/
- touch ./ldn_mitm/out/atmosphere/titles/4200000000000010/flags/boot2.flag
when:
event: tag
pack:
image: kramos/alpine-zip
commands:
- cd ./ldn_mitm/out
- zip -r ./ldn_mitm_${DRONE_TAG}.zip atmosphere switch
when:
event: tag
github_pre_release:
image: plugins/github-release
secrets: [ github_token ]
files:
- ldn_mitm/ldn_mitm*.kip
- ldn_mitm/out/ldn_mitm*.zip
- ldnmitm_config/ldnmitm_config.nro
checksum:
- sha1
Expand Down

0 comments on commit 1d78707

Please # to comment.