mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 21:51:06 +00:00
Include polkadot version in artifact path (#1828)
closes #695 Could potentially be helpful to preserving caches when applicable, as discussed in #685 kusama address: FvpsvV1GQAAbwqX6oyRjemgdKV11QU5bXsMg9xsonD1FLGK
This commit is contained in:
@@ -33,6 +33,7 @@ try-runtime-cli = { path = "../../substrate/utils/frame/try-runtime/cli", option
|
||||
sc-cli = { path = "../../substrate/client/cli", optional = true }
|
||||
sc-service = { path = "../../substrate/client/service", optional = true }
|
||||
polkadot-node-metrics = { path = "../node/metrics" }
|
||||
polkadot-node-primitives = { path = "../node/primitives" }
|
||||
sc-tracing = { path = "../../substrate/client/tracing", optional = true }
|
||||
sc-sysinfo = { path = "../../substrate/client/sysinfo" }
|
||||
sc-executor = { path = "../../substrate/client/executor" }
|
||||
|
||||
+2
-10
@@ -16,19 +16,11 @@
|
||||
|
||||
//! Polkadot CLI library.
|
||||
|
||||
pub use polkadot_node_primitives::NODE_VERSION;
|
||||
|
||||
use clap::Parser;
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// The version of the node.
|
||||
///
|
||||
/// This is the version that is used for versioning this node binary.
|
||||
/// By default the `minor` version is bumped in every release. `Major` or `patch` releases are only
|
||||
/// expected in very rare cases.
|
||||
///
|
||||
/// The worker binaries associated to the node binary should ensure that they are using the same
|
||||
/// version as the main node that started them.
|
||||
pub const NODE_VERSION: &'static str = "1.1.0";
|
||||
|
||||
#[allow(missing_docs)]
|
||||
#[derive(Debug, Parser)]
|
||||
pub enum Subcommand {
|
||||
|
||||
Reference in New Issue
Block a user