Fix snapcraft nightly
This commit is contained in:
parent
5584739b83
commit
cda38941b4
@ -310,7 +310,7 @@ case $BUILD_PLATFORM in
|
|||||||
ARC="amd64"
|
ARC="amd64"
|
||||||
EXT="snap"
|
EXT="snap"
|
||||||
rm -rf *snap
|
rm -rf *snap
|
||||||
sed -i 's/master/'"$VER"'/g' snapcraft.yaml
|
sed -i 's/git/'"$VER"'/g' snapcraft.yaml
|
||||||
snapcraft
|
snapcraft
|
||||||
cp "parity_"$CI_BUILD_REF_NAME"_amd64.snap" "parity_"$VER"_amd64.snap"
|
cp "parity_"$CI_BUILD_REF_NAME"_amd64.snap" "parity_"$VER"_amd64.snap"
|
||||||
$MD5_BIN "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"
|
$MD5_BIN "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"
|
||||||
|
@ -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]
|
|
@ -16,11 +16,11 @@ apps:
|
|||||||
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
|
plugs: [home, network, network-bind, mount-observe, x11, unity7, desktop, desktop-legacy, wayland]
|
||||||
desktop: usr/share/applications/parity.desktop
|
desktop: usr/share/applications/parity.desktop
|
||||||
|
|
||||||
icon: snap/gui/icon.png
|
icon: ./gui/icon.png
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
desktop-icon:
|
desktop-icon:
|
||||||
source: ./snap
|
source: ../snap
|
||||||
plugin: nil
|
plugin: nil
|
||||||
prepare: |
|
prepare: |
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
||||||
|
Loading…
Reference in New Issue
Block a user