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:
Julian Eager
2023-10-15 16:39:03 +08:00
committed by GitHub
parent c9b51cd49c
commit 9e1447042b
5 changed files with 50 additions and 26 deletions
+2 -10
View File
@@ -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 {