trying to implement code signing support

This commit is contained in:
Jonas Heinrich 2020-12-01 16:14:07 +01:00
parent eddd26a51f
commit ffb0f0b56a

View File

@ -39,7 +39,8 @@ signing:
- echo $SIGN_CRT | tr " " "\n" >> sign.crt - echo $SIGN_CRT | tr " " "\n" >> sign.crt
- echo "-----END CERTIFICATE-----" >> sign.crt - echo "-----END CERTIFICATE-----" >> sign.crt
- tar xvf build/artifacts/radio.tar.gz - tar xvf build/artifacts/radio.tar.gz
- ./occ integrity:sign-app --path=$(pwd)/radio --privateKey=$(pwd)/sign.key --certificate=$(pwd)/sign.crt - pwd
- /var/www/html/occ integrity:sign-app --path=$(pwd)/radio --privateKey=$(pwd)/sign.key --certificate=$(pwd)/sign.crt
- ls $(pwd)/radio/appinfo - ls $(pwd)/radio/appinfo
- tar -czvf build/artifacts/radio.tar.gz radio - tar -czvf build/artifacts/radio.tar.gz radio
- rm -r sign.key sign.crt radio - rm -r sign.key sign.crt radio