Fix snapcraft nightly

This commit is contained in:
5chdn 2018-02-13 22:06:32 +01:00
parent 5584739b83
commit cda38941b4
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80
3 changed files with 3 additions and 25 deletions

View File

@ -310,7 +310,7 @@ case $BUILD_PLATFORM in
ARC="amd64"
EXT="snap"
rm -rf *snap
sed -i 's/master/'"$VER"'/g' snapcraft.yaml
sed -i 's/git/'"$VER"'/g' snapcraft.yaml
snapcraft
cp "parity_"$CI_BUILD_REF_NAME"_amd64.snap" "parity_"$VER"_amd64.snap"
$MD5_BIN "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"

View File

@ -1,22 +0,0 @@
name: parity
version: master
summary: Fast, light, robust Ethereum implementation
description: |
Parity's goal is to be the fastest, lightest, and most secure Ethereum
client. We are developing Parity using the sophisticated and cutting-edge
Rust programming language. Parity is licensed under the GPLv3, and can be
used for all your Ethereum needs.
grade: devel
confinement: strict
apps:
parity:
command: parity
plugs: [network, network-bind]
parts:
parity:
source: .
plugin: rust
build-packages: [g++, libudev-dev, libssl-dev, make, pkg-config]

View File

@ -16,11 +16,11 @@ apps:
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
desktop: usr/share/applications/parity.desktop
icon: snap/gui/icon.png
icon: ./gui/icon.png
parts:
desktop-icon:
source: ./snap
source: ../snap
plugin: nil
prepare: |
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications