mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
substrate version string can and can not contain additional strings (#1219)
* substrate version string can and can not contain additional strings * make substrate version detection future proof^tm
This commit is contained in:
committed by
Bastian Köcher
parent
6caadd1968
commit
ccf575454e
@@ -109,7 +109,7 @@ publish:docker:release:
|
|||||||
|| ( echo "no docker credentials provided"; exit 1 )
|
|| ( echo "no docker credentials provided"; exit 1 )
|
||||||
- docker login -u "$Docker_Hub_User_Parity" -p "$Docker_Hub_Pass_Parity"
|
- docker login -u "$Docker_Hub_User_Parity" -p "$Docker_Hub_Pass_Parity"
|
||||||
- docker info
|
- docker info
|
||||||
- VERSION="$(./target/release/substrate --version | sed -n -r 's/^substrate ([0-9.]+-.*-[0-9a-f]{8})-.*$/\1/p')"
|
- VERSION="$(./target/release/substrate --version | sed -n -r 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p')"
|
||||||
- export VERSION
|
- export VERSION
|
||||||
- echo "Substrate version = ${VERSION}"
|
- echo "Substrate version = ${VERSION}"
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user