1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

apt: remove last unstable before adding

kind of a hack, since all versions have version number 0.0.0, reprepro
skips adding new files.
This commit is contained in:
Harvey Tindall 2021-05-30 23:26:50 +01:00
parent 561c461a18
commit d6fd1d6894
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -96,6 +96,7 @@ steps:
- wget https://builds.hrfee.pw/upload.py
- pip3 install requests
- bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"'
- bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "reprepro -Vb /repo remove trusty-unstable jfa-go"'
- bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "repo-process-deb trusty"'
- bash -c 'python3 upload.py https://builds.hrfee.pw hrfee jfa-go --upload ./dist/*.zip ./dist/*.rpm ./dist/*.apk --tag internal-git=true'
environment: