From 2738941eebb4df620958278eac6e6556f3266441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sat, 10 Apr 2021 18:46:26 +1200 Subject: [PATCH] 0.2.1 doc update --- Cargo.lock | 2 +- bin/version | 2 +- plugin/Cargo.toml | 2 +- plugin/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab8116e..ee239e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,7 +346,7 @@ dependencies = [ [[package]] name = "cni-plugin" -version = "0.2.0" +version = "0.2.1" dependencies = [ "async-process", "futures", diff --git a/bin/version b/bin/version index 8d36666..4733b1a 100755 --- a/bin/version +++ b/bin/version @@ -40,7 +40,7 @@ date=$(date +%Y-%m-%d) echo "Next version to be $newver ($date), creating..." sed -E -i "s/^## Next.*$/## Next (YYYY-MM-DD)\n\n## v$newver ($date)/" CHANGELOG.md -sed -E -i "s/^version = \"$extver\"/version = \"$newver\"/" */Cargo.toml +sed -E -i "s/^version = \"[0-9.]+\"/version = \"$newver\"/" */Cargo.toml cargo check diff --git a/plugin/Cargo.toml b/plugin/Cargo.toml index 39c1cd0..045c9a4 100644 --- a/plugin/Cargo.toml +++ b/plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cni-plugin" -version = "0.2.0" +version = "0.2.1" authors = ["Félix Saparelli "] license = "Apache-2.0 OR MIT" diff --git a/plugin/src/lib.rs b/plugin/src/lib.rs index 186f4e6..4341dea 100644 --- a/plugin/src/lib.rs +++ b/plugin/src/lib.rs @@ -30,7 +30,7 @@ //! //! let Inputs { //! command, container_id, ifname, netns, path, config -//! } = match Cni::load().into_inputs().unwrap(); +//! } = Cni::load().into_inputs().unwrap(); //! ``` pub use cni::Cni;