Add publish command (clients/rust/gcli-v2s!19)
* {version} * fix hugo review again * fix license in toml * more readable * fix hugo review * a bit more compact * add latest git commits in description * add vit proposition to publish artefact without gitlab API But I wanna keep my bunty for sure, it's mine. * add merges in release descriptions since MR are squashed ny default * add publish command to push git tag with actual version * add latest commit to the release description
Showing
- .ci/release_script.sh 0 additions, 40 deletions.ci/release_script.sh
- .gitlab-ci.yml 26 additions, 8 deletions.gitlab-ci.yml
- Cargo.lock 93 additions, 8 deletionsCargo.lock
- Cargo.toml 15 additions, 8 deletionsCargo.toml
- src/commands.rs 1 addition, 0 deletionssrc/commands.rs
- src/commands/publish.rs 55 additions, 0 deletionssrc/commands/publish.rs
- src/main.rs 4 additions, 0 deletionssrc/main.rs
- src/utils.rs 7 additions, 0 deletionssrc/utils.rs
.ci/release_script.sh
deleted
100644 → 0
[package] | [package] | ||
authors = ["librelois <c@elo.tf>", "tuxmain <tuxmain@zettascript.org>", "h30x <hugo@trentesaux.fr>"] | authors = [ | ||
"librelois <c@elo.tf>", | |||
"tuxmain <tuxmain@zettascript.org>", | |||
"h30x <hugo@trentesaux.fr>", | |||
] | |||
edition = "2021" | edition = "2021" | ||
license = "AGPL-3.0" | license = "AGPL-3.0-only" | ||
name = "gcli" | name = "gcli" | ||
repository = "https://git.duniter.org/clients/rust/gcli-v2s" | repository = "https://git.duniter.org/clients/rust/gcli-v2s" | ||
version = "0.2.1" | version = "0.2.2" | ||
[dependencies] | [dependencies] | ||
# subxt is main dependency | # subxt is main dependency | ||
subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.34.0-duniter-substrate-v1.6.0', default-features = false, features = ["substrate-compat", "native", "jsonrpsee"] } | subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.34.0-duniter-substrate-v1.6.0', default-features = false, features = [ | ||
"substrate-compat", | |||
"native", | |||
"jsonrpsee", | |||
] } | |||
# substrate primitives dependencies | # substrate primitives dependencies | ||
sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | ||
sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } | ||
... | @@ -27,9 +35,10 @@ serde = { version = "^1.0", features = ["derive"] } | ... | @@ -27,9 +35,10 @@ serde = { version = "^1.0", features = ["derive"] } |
serde_json = "^1.0.113" | serde_json = "^1.0.113" | ||
tokio = { version = "^1.35.1", features = ["macros"] } | tokio = { version = "^1.35.1", features = ["macros"] } | ||
confy = "^0.5.1" | confy = "^0.5.1" | ||
scrypt = { version = "^0.11", default-features = false } # for old-style key generation | scrypt = { version = "^0.11", default-features = false } # for old-style key generation | ||
nacl = { version = "^0.5.3" } # for old-style key generation | nacl = { version = "^0.5.3" } # for old-style key generation | ||
bs58 = "^0.5.0" | bs58 = "^0.5.0" | ||
inquire = "0.6.2" | |||
# allows to build gcli for different runtimes and with different predefined networks | # allows to build gcli for different runtimes and with different predefined networks | ||
[features] | [features] | ||
... | @@ -37,5 +46,3 @@ default = ["gdev"] # default runtime is "gdev", gdev network is available | ... | @@ -37,5 +46,3 @@ default = ["gdev"] # default runtime is "gdev", gdev network is available |
gdev = [] | gdev = [] | ||
gtest = [] | gtest = [] | ||
g1 = [] | g1 = [] | ||
src/commands/publish.rs
0 → 100644
Please register or sign in to comment