resolve conflicts
This commit is contained in:
parent
680cc9c0c3
commit
9e2b3308d4
@ -143,7 +143,7 @@ linux-snap:
|
|||||||
- rust-stable
|
- rust-stable
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- scripts/parity_*_amd64.snap
|
- snap/parity.zip
|
||||||
name: "stable-x86_64-unknown-snap-gnu_parity"
|
name: "stable-x86_64-unknown-snap-gnu_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
darwin:
|
darwin:
|
||||||
|
@ -273,13 +273,31 @@ case $BUILD_PLATFORM in
|
|||||||
cd snap
|
cd snap
|
||||||
ARC="amd64"
|
ARC="amd64"
|
||||||
EXT="snap"
|
EXT="snap"
|
||||||
|
rm -rf *.snap
|
||||||
rm -rf *snap
|
rm -rf *snap
|
||||||
sed -i 's/git/'"$VER"'/g' snapcraft.yaml
|
sed -i 's/git/'"$VER"'/g' snapcraft.yaml
|
||||||
sed -i -e 's/source: ./source: ../' snapcraft.yaml
|
sed -i -e 's/source: ./source: ../' snapcraft.yaml
|
||||||
|
if [[ "$CI_BUILD_REF_NAME" = "stable" ]];
|
||||||
|
then
|
||||||
|
sed -i -e 's/grade: devel/grade: stable/' snapcraft.yaml;
|
||||||
|
fi
|
||||||
snapcraft
|
snapcraft
|
||||||
cp "parity_"$CI_BUILD_REF_NAME"_amd64.snap" "parity_"$VER"_amd64.snap"
|
snapcraft_login=$(expect -c "
|
||||||
|
spawn snapcraft login
|
||||||
|
expect \"Email:\"
|
||||||
|
send \"$SNAP_EMAIL\n\"
|
||||||
|
expect \"Password:\"
|
||||||
|
send \"$SNAP_PASS\n\"
|
||||||
|
expect \"\$\"
|
||||||
|
")
|
||||||
|
echo "$snapcraft_login"
|
||||||
|
snapcraft push "parity_"$VER"_amd64.snap"
|
||||||
|
snapcraft status parity
|
||||||
|
snapcraft logout
|
||||||
md5sum "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"
|
md5sum "parity_"$VER"_amd64.snap" > "parity_"$VER"_amd64.snap.md5"
|
||||||
push_binaries
|
echo "add artifacts to archive"
|
||||||
|
rm -rf parity.zip
|
||||||
|
zip -r parity.zip "parity_"$VER"_amd64.snap" "parity_"$VER"_amd64.snap.md5"
|
||||||
;;
|
;;
|
||||||
x86_64-pc-windows-msvc)
|
x86_64-pc-windows-msvc)
|
||||||
set_env_win
|
set_env_win
|
||||||
|
@ -15,6 +15,7 @@ apps:
|
|||||||
command: parity
|
command: parity
|
||||||
plugs: [network, network-bind, mount-observe, x11, unity7]
|
plugs: [network, network-bind, mount-observe, x11, unity7]
|
||||||
|
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
parity:
|
parity:
|
||||||
source: .
|
source: .
|
||||||
|
Loading…
Reference in New Issue
Block a user