Skip to content

Commit

Permalink
Release v0.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <x@acg.box>
  • Loading branch information
AurevoirXavier committed Dec 22, 2024
1 parent c5f22b5 commit 79f88ad
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 270 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ jobs:
path: prr-${{ matrix.target.name }}.*
retention-days: 1

# release:
# name: Release
# runs-on: ubuntu-latest
# steps:
# - name: Publish
# uses: softprops/action-gh-release@v2
# with:
# discussion_category_name: Announcements
# generate_release_notes: true

release:
name: Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -94,4 +84,6 @@ jobs:
- name: Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish
run: cargo publish --locked
run: |
cargo publish --locked -p polkadot-runtime-releaser-lib
cargo publish --locked -p polkadot-runtime-releaser-cli
14 changes: 3 additions & 11 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,6 @@ jobs:
path: prr-${{ matrix.target.name }}.*
retention-days: 1

# staging:
# name: Staging
# runs-on: ubuntu-latest
# steps:
# - name: Publish
# uses: softprops/action-gh-release@v2
# with:
# discussion_category_name: Announcements
# generate_release_notes: true

staging:
name: Staging
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,4 +86,6 @@ jobs:
# - name: Login
# run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
# - name: Publish
# run: cargo publish --locked
# run: |
# cargo publish --locked -p polkadot-runtime-releaser-lib
# cargo publish --locked -p polkadot-runtime-releaser-cli
35 changes: 4 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition = "2021"
homepage = "https://hack.ink/polkadot-runtime-releaser"
license = "GPL-3.0"
repository = "https://github.com/hack-ink/polkadot-runtime-releaser"
version = "0.1.0"
version = "0.1.1"

[workspace.dependencies]
# crates.io
Expand All @@ -32,7 +32,6 @@ sp-core = { version = "34.0" }
sp-maybe-compressed-blob = { version = "11.0" }
sp-state-machine = { version = "0.43" }
sp-version = { version = "37.0" }
subrpcer = { version = "0.11" }
thiserror = { version = "2.0" }
tokio = { version = "1.42" }
toml = { version = "0.8" }
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build = "build.rs"
description = "Polkadot Runtime Releaser CLI."
edition.workspace = true
name = "polkadot-runtime-releaser-cli"
readme = "README.md"
readme = "../README.md"
version.workspace = true

[[bin]]
Expand Down
6 changes: 0 additions & 6 deletions cli/src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
mod build;
use build::BuildCmd;

mod cmp;
use cmp::CmpCmd;

mod inspect;
use inspect::InspectCmd;

Expand Down Expand Up @@ -45,7 +42,6 @@ impl Run for Cli {
fn run(self) -> Result<()> {
match self.subcommand {
Subcommand::Build(cmd) => cmd.run(),
Subcommand::Cmp(cmd) => cmd.run(),
Subcommand::Inspect(cmd) => cmd.run(),
}
}
Expand All @@ -55,8 +51,6 @@ impl Run for Cli {
enum Subcommand {
/// Build the polkadot-sdk-based runtime.
Build(BuildCmd),
/// Compare the latest GitHub release's runtime version with the on-chain's.
Cmp(CmpCmd),
/// Inspect the WASM runtime.
Inspect(InspectCmd),
}
Expand Down
30 changes: 0 additions & 30 deletions cli/src/cli/cmp.rs

This file was deleted.

3 changes: 1 addition & 2 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors.workspace = true
description = "Polkadot Runtime Releaser library."
edition.workspace = true
name = "polkadot-runtime-releaser-lib"
readme = "README.md"
readme = "../README.md"
version.workspace = true

[dependencies]
Expand All @@ -20,7 +20,6 @@ sp-core = { workspace = true }
sp-maybe-compressed-blob = { workspace = true }
sp-state-machine = { workspace = true }
sp-version = { workspace = true, features = ["serde"] }
subrpcer = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }

Expand Down
Loading

0 comments on commit 79f88ad

Please sign in to comment.