mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 22:41:06 +00:00
update branch name in Cargo.lock (#473)
This commit is contained in:
committed by
GitHub
parent
9240042048
commit
dfa4e2128b
@@ -92,6 +92,7 @@ test-linux-stable: &test
|
|||||||
test "${CI_COMMIT_REF_NAME}" = "kusama-nightly-staging" && (
|
test "${CI_COMMIT_REF_NAME}" = "kusama-nightly-staging" && (
|
||||||
echo "kusama-nightly-staging: change Cargo.toml to build against substrate:kusama-nightly-staging"
|
echo "kusama-nightly-staging: change Cargo.toml to build against substrate:kusama-nightly-staging"
|
||||||
find . -name Cargo.toml -exec sed -i -r -e ':github.com/paritytech/substrate": { s:branch = "polkadot-(master|testing)":branch = "kusama-nightly-staging":; s:github.com/paritytech/substrate:gitlab.parity.io/parity/substrate.git:}' '{}' \;
|
find . -name Cargo.toml -exec sed -i -r -e ':github.com/paritytech/substrate": { s:branch = "polkadot-(master|testing)":branch = "kusama-nightly-staging":; s:github.com/paritytech/substrate:gitlab.parity.io/parity/substrate.git:}' '{}' \;
|
||||||
|
sed -i -r 's:github.com/paritytech/substrate\?branch=polkadot-(master|testing):gitlab.parity.io/parity/substrate.git?branch=kusama-nightly-staging:' Cargo.lock
|
||||||
time cargo test --all --release --verbose) || \
|
time cargo test --all --release --verbose) || \
|
||||||
time cargo test --all --release --verbose --locked
|
time cargo test --all --release --verbose --locked
|
||||||
- sccache -s
|
- sccache -s
|
||||||
@@ -108,8 +109,9 @@ build-linux-release: &build
|
|||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
test "${CI_COMMIT_REF_NAME}" = "kusama-nightly-staging" && (
|
test "${CI_COMMIT_REF_NAME}" = "kusama-nightly-staging" && (
|
||||||
echo "kusama-nightly-staging: change Cargo.toml to build against substrate:kusama-nightly-staging";
|
echo "kusama-nightly-staging: change Cargo.toml to build against substrate:kusama-nightly-staging"
|
||||||
find . -name Cargo.toml -exec sed -i -r -e ':github.com/paritytech/substrate": { s:branch = "polkadot-(master|testing)":branch = "kusama-nightly-staging":; s:github.com/paritytech/substrate:gitlab.parity.io/parity/substrate.git:}' '{}' \; )
|
find . -name Cargo.toml -exec sed -i -r -e ':github.com/paritytech/substrate": { s:branch = "polkadot-(master|testing)":branch = "kusama-nightly-staging":; s:github.com/paritytech/substrate:gitlab.parity.io/parity/substrate.git:}' '{}' \;
|
||||||
|
sed -i -r 's:github.com/paritytech/substrate\?branch=polkadot-(master|testing):gitlab.parity.io/parity/substrate.git?branch=kusama-nightly-staging:' Cargo.lock )
|
||||||
- time cargo build --release --verbose
|
- time cargo build --release --verbose
|
||||||
- mkdir -p ./artifacts
|
- mkdir -p ./artifacts
|
||||||
- mv ./target/release/polkadot ./artifacts/.
|
- mv ./target/release/polkadot ./artifacts/.
|
||||||
|
|||||||
Reference in New Issue
Block a user