ci: housekeeping

This commit is contained in:
Michael Grote 2023-06-28 14:57:18 +02:00
parent 2f3e9732a7
commit d37fa6826a

View file

@ -24,17 +24,9 @@ steps:
- ln -s packages/debian . - ln -s packages/debian .
- dpkg-buildpackage -uc -us - dpkg-buildpackage -uc -us
# upload # upload
- pwd
- ls -lah
- cd ..
- pwd
- ls -lah
- cp sanoid_$(echo $version)_all.deb sanoid_latest_all.deb - cp sanoid_$(echo $version)_all.deb sanoid_latest_all.deb
- cp sanoid_$(echo $version)_all.deb sanoid_${DRONE_COMMIT_BRANCH}_all.deb
- | - |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version)_all.deb" http://docker10.grote.lan:5040/upload curl -X POST -H "token: $auth_token" -F "file=@./sanoid_$(echo $version)_all.deb" http://docker10.grote.lan:5040/upload
- |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_${DRONE_COMMIT_BRANCH}_all.deb" http://docker10.grote.lan:5040/upload
- | - |
curl -X POST -H "token: $auth_token" -F "file=@./sanoid_latest_all.deb" http://docker10.grote.lan:5040/upload curl -X POST -H "token: $auth_token" -F "file=@./sanoid_latest_all.deb" http://docker10.grote.lan:5040/upload