-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update Rust to 1.84.1 Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fixes Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fix Signed-off-by: Oliver Tale-Yazdi <[email protected]> * fmt Signed-off-by: Oliver Tale-Yazdi <[email protected]> --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
- Loading branch information
Showing
6 changed files
with
53 additions
and
27 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[workspace.package] | ||
edition = "2021" | ||
authors = ["Oliver Tale-Yazdi <[email protected]>"] | ||
version = "3.4.3" | ||
version = "3.4.4" | ||
repository = "https://github.com/ggwpez/substrate-weight-compare" | ||
readme = "README.md" | ||
keywords = [ "polkadot", "substrate", "blockchain" ] | ||
|
@@ -18,7 +18,7 @@ members = [ | |
resolver = "2" | ||
|
||
[workspace.dependencies] | ||
subweight-core = { version = "3.4.3", path = "core" } | ||
subweight-core = { version = "3.4.4", path = "core" } | ||
|
||
clap = { version = "4.5.16", features = ["derive"] } | ||
env_logger = "0.11.5" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
default: fmt test | ||
|
||
fmt: | ||
cargo +nightly-2024-09-11 fmt --all | ||
|
||
test: | ||
cargo test --release --all-targets --all-features | ||
|
||
dev: | ||
cargo r --release --bin subweight-web -- --endpoint 127.0.0.1 --repos polkadot-sdk --root repos --port 4000 | ||
|
||
publish: | ||
#!/usr/bin/env bash | ||
echo "Checking if crate can be published..." | ||
VERSION=$(shell grep -E '^version = "[0-9.]+"' Cargo.toml | cut -d'"' -f2) | ||
TAG=v$(VERSION) | ||
echo "Publishing version '$(VERSION)' with tag '$(TAG)'" | ||
echo "- Publishing crate to crates.io..." | ||
echo " - Publishing core..." | ||
cargo publish -p subweight-core --allow-dirty -q | ||
echo " - Publishing cli..." | ||
cargo publish -p subweight --allow-dirty -q | ||
echo " - Publishing web..." | ||
cargo publish -p subweight-web --allow-dirty -q | ||
echo "- Please sign the tag..." | ||
git tag -s -a $(TAG) -m "Version $(VERSION)" | ||
echo "- Pushing tag to GitHub..." | ||
git push -f origin $(TAG) | ||
echo "Done!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[toolchain] | ||
channel = "1.80.0" | ||
channel = "1.84.1" | ||
components = [ "rustfmt", "clippy" ] | ||
profile = "minimal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters