resolve conflicts

This commit is contained in:
Denis S. Soldatov aka General-Beck 2018-02-01 02:21:03 +03:00
parent 680cc9c0c3
commit 9e2b3308d4
No known key found for this signature in database
GPG Key ID: 3E5771903C3EE2DE
3 changed files with 23 additions and 4 deletions

View File

@ -143,7 +143,7 @@ linux-snap:
- rust-stable
artifacts:
paths:
- scripts/parity_*_amd64.snap
- snap/parity.zip
name: "stable-x86_64-unknown-snap-gnu_parity"
allow_failure: true
darwin:

View File

@ -273,13 +273,31 @@ case $BUILD_PLATFORM in
cd snap
ARC="amd64"
EXT="snap"
rm -rf *.snap
rm -rf *snap
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
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"
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)
set_env_win

View File

@ -15,6 +15,7 @@ apps:
command: parity
plugs: [network, network-bind, mount-observe, x11, unity7]
parts:
parity:
source: .