fix gitea relase
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/tag Build encountered an error

This commit is contained in:
Ivan Schaller 2022-05-10 18:27:19 +02:00
parent f22dbe9308
commit a09017037b
2 changed files with 19 additions and 1 deletions

View file

@ -188,14 +188,24 @@ gitea_plugin: &gitea_plugin
pull: if-not-exists
group: publish
tar_plugin: &tar_plugin
image: 'cr.44net.ch/baseimages/debian-base'
pull: if-not-exists
group: publish
# publish release on gitea
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'
<<: *gitea_plugin
settings:
<<: *gitea_secrets
base_url: https://git.44net.ch
files: ./*
files: manga-dlp-${DRONE_TAG}.tar.gz
title: 'manga-dlp release: ${DRONE_TAG}'
note: CHANGELOG.md

8
release-files.txt Normal file
View file

@ -0,0 +1,8 @@
mangadlp/
manga-dlp.py
requirements.txt
setup.py
MANIFEST.in
README.md
CHANGELOG.md
LICENSE