Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Bump version 2.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Junyeong Jeong <[email protected]>
  • Loading branch information
rhdxmr committed Jan 9, 2022
1 parent 1d2e693 commit 845fffa
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ Cargo.toml probes/ src/ target/
Open `Cargo.toml` with your favorite editor and add dependencies:

```toml
redbpf = { version = "2.1.0", features = ["load"] }
redbpf = { version = "2.3.0", features = ["load"] }
tokio = { version = "1.0", features = ["rt", "signal", "time", "io-util", "net", "sync"] }
tracing-subscriber = "0.2"
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion bpf-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bpf-sys"
version = "2.2.0"
version = "2.3.0"
description = "Bindings for libbpf"
repository = "https://github.com/foniod/redbpf"
homepage = "https://foniod.org"
Expand Down
8 changes: 4 additions & 4 deletions cargo-bpf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "cargo-bpf"
version = "2.2.0"
version = "2.3.0"
description = "Cargo plugin to manage eBPF probes using redbpf"
repository = "https://github.com/foniod/redbpf"
homepage = "https://foniod.org"
documentation = "https://docs.rs/cargo-bpf/2.2.0/cargo_bpf_lib/"
documentation = "https://docs.rs/cargo-bpf/latest/cargo_bpf_lib/"
authors = ["Alessandro Decina <[email protected]>", "Peter Parkanyi <[email protected]>", "Junyeong Jeong <[email protected]>"]
edition = "2018"
keywords = ["cargo", "redbpf", "bpf", "plugin", "subcommand"]
Expand All @@ -22,8 +22,8 @@ required-features = ["command-line"]
clap = { version = "2.33", optional = true }
bindgen = {version = "0.59.2", default-features = false, features = ["runtime"], optional = true}
toml_edit = { version = "0.2", optional = true }
bpf-sys = { version = "2.2.0", path = "../bpf-sys", optional = true }
redbpf = { version = "2.2.0", path = "../redbpf", default-features = false, optional = true }
bpf-sys = { version = "2.3.0", path = "../bpf-sys", optional = true }
redbpf = { version = "2.3.0", path = "../redbpf", default-features = false, optional = true }
futures = { version = "0.3", optional = true }
tokio = { version = "^1.0.1", features = ["rt", "macros", "signal"], optional = true }
hexdump = { version = "0.1", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions cargo-bpf/src/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ edition = '2018'
[dependencies]
cty = "0.2"
redbpf-macros = "2.1.0"
redbpf-probes = "2.1.0"
redbpf-macros = "2.3.0"
redbpf-probes = "2.3.0"
[build-dependencies]
cargo-bpf = {{ version = "2.1.0", default-features = false }}
cargo-bpf = {{ version = "2.3.0", default-features = false }}
[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions redbpf-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repository = "https://github.com/foniod/redbpf"
homepage = "https://foniod.org"
documentation = "https://docs.rs/redbpf-macros/"
authors = ["Alessandro Decina <[email protected]>", "Peter Parkanyi <[email protected]>", "Junyeong Jeong <[email protected]>"]
version = "2.2.0"
version = "2.3.0"
edition = '2018'
keywords = ["bpf", "ebpf", "redbpf"]
license = "MIT OR Apache-2.0"
Expand All @@ -24,6 +24,6 @@ rustc_version = "0.3.0"

[dev-dependencies]
# redbpf-probes is needed by doctests
redbpf-probes = { version = "2.2.0", path = "../redbpf-probes" }
redbpf-probes = { version = "2.3.0", path = "../redbpf-probes" }
# memoffset is needed by doctests
memoffset = "0.6"
8 changes: 4 additions & 4 deletions redbpf-probes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ repository = "https://github.com/foniod/redbpf"
homepage = "https://foniod.org"
documentation = "https://docs.rs/redbpf-probes/"
authors = ["Alessandro Decina <[email protected]>", "Peter Parkanyi <[email protected]>", "Junyeong Jeong <[email protected]>"]
version = "2.2.0"
version = "2.3.0"
edition = '2018'
keywords = ["bpf", "ebpf", "redbpf"]
license = "MIT OR Apache-2.0"

[dependencies]
cty = "0.2"
redbpf-macros = { version = "2.2.0", path = "../redbpf-macros" }
redbpf-macros = { version = "2.3.0", path = "../redbpf-macros" }
ufmt = { version = "0.1.0", default-features = false }

[build-dependencies]
cargo-bpf = { version = "2.2.0", path = "../cargo-bpf", default-features = false, features = ["bindings"] }
bpf-sys = { version = "2.2.0", path = "../bpf-sys" }
cargo-bpf = { version = "2.3.0", path = "../cargo-bpf", default-features = false, features = ["bindings"] }
bpf-sys = { version = "2.3.0", path = "../bpf-sys" }
syn = {version = "1.0", default-features = false, features = ["parsing", "visit"] }
quote = "1.0"
glob = "0.3.0"
Expand Down
4 changes: 2 additions & 2 deletions redbpf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "redbpf"
version = "2.2.0"
version = "2.3.0"
description = "eBPF build and userspace runtime library"
repository = "https://github.com/foniod/redbpf"
homepage = "https://foniod.org"
Expand All @@ -15,7 +15,7 @@ readme = "README.md"
maintenance = { status = "actively-developed" }

[dependencies]
bpf-sys = { path = "../bpf-sys", version = "2.2.0" }
bpf-sys = { path = "../bpf-sys", version = "2.3.0" }
goblin = "0.4"
zero = "0.1"
libc = "0.2"
Expand Down
3 changes: 1 addition & 2 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ NEW_VERSION="${1}"
echo "Bumping version: ${NEW_VERSION}"

find $PACKAGES -name Cargo.toml -type f -exec sed -i -r \
-e "s/^version.*/version = \"$NEW_VERSION\"/" \
-e 's@^(documentation *= *"https://docs.rs/[a-z-]+/)[^/]+@\1'$NEW_VERSION'@' {} \;
-e "s/^version.*/version = \"$NEW_VERSION\"/" {} \;
find $PACKAGES -name Cargo.toml -type f -exec sed -i -e "s/^\(bpf-sys.*version = \)\"[^\"]*\"/\\1\"$NEW_VERSION\"/" {} \;
find $PACKAGES -name Cargo.toml -type f -exec sed -i -e "s/^\(cargo-bpf.*version = \)\"[^\"]*\"/\\1\"$NEW_VERSION\"/" {} \;
find $PACKAGES -name Cargo.toml -type f -exec sed -i -e "s/^\(redbpf.*version = \)\"[^\"]*\"/\\1\"$NEW_VERSION\"/" {} \;
Expand Down

0 comments on commit 845fffa

Please sign in to comment.