CI: fix publishing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2022-05-01 00:01:38 +02:00
parent 2927065ed6
commit 2cdc7b870d

View file

@ -33,7 +33,7 @@ pipeline:
event: tag
commands:
- ls dist/*
- ls deb_dist/*.deb
- ls deb_dist/*
publish-gitea:
group: publish
@ -46,7 +46,7 @@ pipeline:
base_url: https://gitea.zionetrix.net
files:
- dist/*
- deb_dist/*
- deb_dist/*.deb
checksum:
- md5
- sha512
@ -57,12 +57,12 @@ pipeline:
when:
event: tag
commands:
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/python3-mylib_*_all.deb ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/mylib_*.dsc ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/mylib_*.orig.tar.gz ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/mylib_*.debian.tar.xz ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/mylib_*.buildinfo ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls dist/mylib_*.changes ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/python3-mylib_*_all.deb ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/mylib_*.dsc ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/mylib_*.orig.tar.gz ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/mylib_*.debian.tar.xz ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/mylib_*.buildinfo ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST -F file=@$( ls deb_dist/mylib_*.changes ) $APT_API_URL/files/python3-mylib
- curl -u $APT_CREDS -X POST $APT_API_URL/repos/$APT_REPO_NAME/include/python3-mylib
- APT_SNAP_NAME=$(date +%s)_$APT_REPO_NAME
- >