1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 17:18:33 +00:00

Add appimage signing key.

This commit is contained in:
Brenden Matthews 2019-02-22 15:37:03 -05:00
parent 25acfe51cc
commit 2e029e8720
3 changed files with 223 additions and 217 deletions

View File

@ -132,6 +132,8 @@ matrix:
- os: osx - os: osx
osx_image: xcode10.1 osx_image: xcode10.1
before_install: before_install:
- openssl aes-256-cbc -K $encrypted_38876355cb3e_key -iv $encrypted_38876355cb3e_iv
-in appimage/secret.gpg.enc -out appimage/secret.gpg -d
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "${MATRIX_EVAL}" ; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "${MATRIX_EVAL}" ; fi
- | - |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
@ -221,13 +223,13 @@ script:
branches: branches:
only: only:
- master - master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - "/^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/"
sudo: required sudo: required
cache: cache:
- directories: - directories:
- '$HOME/.sonar/cache' - "$HOME/.sonar/cache"
before_deploy: before_deploy:
- './appimage/build.sh' - "./appimage/build.sh"
deploy: deploy:
provider: releases provider: releases
file_glob: true file_glob: true
@ -235,6 +237,6 @@ deploy:
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true
condition: '$CXX = clang++-7' condition: "$CXX = clang++-7"
api_key: api_key:
secure: YGmk5e9am7gwH1pKJVwjHPheaLrSxMIIa5iDvnto9KKaj9VDgsynzPFcwfP6my78qMszdpC7IsjpukpKFBpmifAZ7OQcpEDFp1d91kXcTEM9ILgu3j3kl/gr6nIkzqJO9VAwlYO5H3t5xlD6EZa36FGg0Nlvi2cCuNG7mEyVJy0= secure: YGmk5e9am7gwH1pKJVwjHPheaLrSxMIIa5iDvnto9KKaj9VDgsynzPFcwfP6my78qMszdpC7IsjpukpKFBpmifAZ7OQcpEDFp1d91kXcTEM9ILgu3j3kl/gr6nIkzqJO9VAwlYO5H3t5xlD6EZa36FGg0Nlvi2cCuNG7mEyVJy0=

View File

@ -41,11 +41,15 @@ wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/lin
# make them executable # make them executable
chmod +x linuxdeploy-x86_64.AppImage chmod +x linuxdeploy-x86_64.AppImage
# import signing key
gpg --allow-secret-key-import secret.gpg
./linuxdeploy-x86_64.AppImage \ ./linuxdeploy-x86_64.AppImage \
--appdir AppDir \ --appdir AppDir \
-e AppDir/usr/bin/conky \ -e AppDir/usr/bin/conky \
-i AppDir/usr/share/icons/hicolor/scalable/apps/conky-logomark-violet.svg \ -i AppDir/usr/share/icons/hicolor/scalable/apps/conky-logomark-violet.svg \
-d AppDir/usr/share/applications/conky.desktop \ -d AppDir/usr/share/applications/conky.desktop \
--sign \
--output appimage --output appimage
mv conky*.AppImage "$OLD_CWD" mv conky*.AppImage "$OLD_CWD"

BIN
appimage/secret.gpg.enc Normal file

Binary file not shown.