fix gitea relase
This commit is contained in:
parent
f22dbe9308
commit
a09017037b
2 changed files with 19 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
@ -188,14 +188,24 @@ gitea_plugin: &gitea_plugin
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
group: publish
|
group: publish
|
||||||
|
|
||||||
|
tar_plugin: &tar_plugin
|
||||||
|
image: 'cr.44net.ch/baseimages/debian-base'
|
||||||
|
pull: if-not-exists
|
||||||
|
group: publish
|
||||||
|
|
||||||
# publish release on gitea
|
# publish release on gitea
|
||||||
steps:
|
steps:
|
||||||
|
- name: 'publish gitea release'
|
||||||
|
<<: *tar_plugin
|
||||||
|
commands:
|
||||||
|
- tar -czf manga-dlp-${DRONE_TAG}.tar.gz --files-from=release-files.txt
|
||||||
|
|
||||||
- name: 'publish gitea release'
|
- name: 'publish gitea release'
|
||||||
<<: *gitea_plugin
|
<<: *gitea_plugin
|
||||||
settings:
|
settings:
|
||||||
<<: *gitea_secrets
|
<<: *gitea_secrets
|
||||||
base_url: https://git.44net.ch
|
base_url: https://git.44net.ch
|
||||||
files: ./*
|
files: manga-dlp-${DRONE_TAG}.tar.gz
|
||||||
title: 'manga-dlp release: ${DRONE_TAG}'
|
title: 'manga-dlp release: ${DRONE_TAG}'
|
||||||
note: CHANGELOG.md
|
note: CHANGELOG.md
|
||||||
|
|
||||||
|
|
8
release-files.txt
Normal file
8
release-files.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
mangadlp/
|
||||||
|
manga-dlp.py
|
||||||
|
requirements.txt
|
||||||
|
setup.py
|
||||||
|
MANIFEST.in
|
||||||
|
README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
LICENSE
|
Loading…
Reference in a new issue