Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 7f3a72b

Browse files
authored
Beta Backports (#10354)
* version: bump beta to 2.3.4 * snap: prefix version and populate candidate channel (#10343) * snap: populate candidate releases with beta snaps to avoid stale channel * snap: prefix version with v* * no volumes are needed, just run -v volume:/path/in/the/container (#10345)
1 parent 3b9b1a8 commit 7f3a72b

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "Parity Ethereum client"
33
name = "parity-ethereum"
44
# NOTE Make sure to update util/version/Cargo.toml as well
5-
version = "2.3.3"
5+
version = "2.3.4"
66
license = "GPL-3.0"
77
authors = ["Parity Technologies <admin@parity.io>"]
88

scripts/docker/hub/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ COPY scripts/docker/hub/check_sync.sh /check_sync.sh
2525
# switch to user parity here
2626
USER parity
2727

28-
VOLUME [ "/home/parity/.local/share/io.parity.ethereum" ]
2928
EXPOSE 5001 8080 8082 8083 8545 8546 8180 30303/tcp 30303/udp
3029

3130
ENTRYPOINT ["/bin/parity"]

scripts/gitlab/publish-snap.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e # fail on any error
44
set -u # treat unset variables as error
55

66
# some necromancy:
7-
# gsub(/"/, "", $2) deletes "qoutes"
7+
# gsub(/"/, "", $2) deletes "qoutes"
88
# gsub(/ /, "", $2) deletes whitespaces
99
TRACK=`awk -F '=' '/^track/ {gsub(/"/, "", $2); gsub(/ /, "", $2); print $2}' ./util/version/Cargo.toml`
1010
echo Track is: $TRACK
@@ -16,6 +16,7 @@ case ${TRACK} in
1616
*) echo "No release" && exit 0;;
1717
esac
1818

19+
VERSION="v"$VERSION
1920
SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap"
2021

2122
echo "__________Create snap package__________"
@@ -48,5 +49,8 @@ echo "Release channel :" $CHANNEL " Branch/tag: " $CI_COMMIT_REF_NAME
4849
echo $SNAPCRAFT_LOGIN_PARITY_BASE64 | base64 --decode > snapcraft.login
4950
snapcraft login --with snapcraft.login
5051
snapcraft push --release $CHANNEL $SNAP_PACKAGE
52+
case ${CHANNEL} in
53+
beta) snapcraft push --release candidate $SNAP_PACKAGE;;
54+
esac
5155
snapcraft status parity
5256
snapcraft logout

util/version/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[package]
44
name = "parity-version"
55
# NOTE: this value is used for Parity Ethereum version string (via env CARGO_PKG_VERSION)
6-
version = "2.3.3"
6+
version = "2.3.4"
77
authors = ["Parity Technologies <admin@parity.io>"]
88
build = "build.rs"
99

0 commit comments

Comments
 (0)