Skip to content

Commit

Permalink
Release fixes (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Aug 5, 2021
1 parent a23bf7e commit 440e724
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ tonic = "0.4.3"
path = "agora-lnd-client"
version = "0.0.0"

[dependencies.lnd-test-context]
path = "lnd-test-context"
optional = true

[dependencies.hyper]
version = "0.14.7"
features = ["server", "stream", "tcp", "http1", "http2"]
Expand Down Expand Up @@ -77,10 +73,13 @@ tempfile = "3.2.0"
version = "0.11.3"
features = ["blocking", "stream"]

[dev-dependencies.lnd-test-context]
path = "lnd-test-context"

[[test]]
name = "smoke"
path = "tests/smoke.rs"
test = false

[features]
slow-tests = ["lnd-test-context"]
slow-tests = []
4 changes: 4 additions & 0 deletions agora-lnd-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[package]
name = "agora-lnd-client"
version = "0.0.0"
description = "Agora LND client library"
authors = ["Casey Rodarmor <[email protected]>", "Sönke Hahn <[email protected]>"]
edition = "2018"
license = "CC0-1.0"
repository = "https://github.com/soenkehahn/agora"
homepage = "https://github.com/soenkehahn/agora"

[lib]
doctest = false
Expand Down
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ publish remote: all
VERSION=`cargo run -- --version | cut -d' ' -f2`
git diff --no-ext-diff --quiet --exit-code
git branch | grep '* master'
(cd agora-lnd-client && cargo publish --dry-run)
cargo publish --dry-run
git tag -a $VERSION -m "Release version $VERSION"
git push {{remote}} $VERSION
(cd agora-lnd-client && cargo publish)
cargo publish
clean-binaries:
Expand Down

0 comments on commit 440e724

Please sign in to comment.