Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
Make version script stricter again
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Apr 12, 2021
1 parent fee24b8 commit 49f4b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/version
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \"[0-9.]+\"/version = \"$newver\"/" */Cargo.toml
sed -E -i "s/^version = \"$extver\"/version = \"$newver\"/" */Cargo.toml

cargo check

Expand Down
2 changes: 1 addition & 1 deletion plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cni-plugin"
version = "0.2.1"
version = "0.2.0"

authors = ["Félix Saparelli <[email protected]>"]
license = "Apache-2.0 OR MIT"
Expand Down

0 comments on commit 49f4b80

Please sign in to comment.