resolve conflicts
This commit is contained in:
parent
680cc9c0c3
commit
9e2b3308d4
@ -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:
|
||||
|
@ -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
|
||||
|
@ -15,6 +15,7 @@ apps:
|
||||
command: parity
|
||||
plugs: [network, network-bind, mount-observe, x11, unity7]
|
||||
|
||||
|
||||
parts:
|
||||
parity:
|
||||
source: .
|
||||
|
Loading…
Reference in New Issue
Block a user