File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ updates:
2020 day : monday
2121 time : " 06:00"
2222 groups :
23- cargo-deps :
23+ cargo-minor-patch :
2424 patterns :
2525 - ' *'
26+ exclude-patterns :
27+ - shvproto
28+ - shvrpc
29+ update-types :
30+ - major
Original file line number Diff line number Diff line change @@ -122,8 +122,10 @@ jobs:
122122 run : |
123123 [[ "$(grep '^version' Cargo.toml | head -n1)" =~ ([0-9]+\.[0-9]+\.)([0-9]+) ]]
124124 NEW_VERSION="${BASH_REMATCH[1]}$((BASH_REMATCH[2] + 1))"
125+ cargo install cargo-bump
125126 echo Bumping "${BASH_REMATCH[0]} -> $NEW_VERSION"
126- sed -i "s/${BASH_REMATCH[0]}/$NEW_VERSION/" Cargo.toml
127+ BUMP_TYPE='patch'
128+ cargo bump "$BUMP_TYPE"
127129 if [[ -f Cargo.lock ]]; then
128130 cargo update
129131 fi
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name = "shvproto"
55description = " Rust implementation of the SHV protocol"
66license = " MIT"
77repository = " https://github.com/silicon-heaven/libshvproto-rs"
8- version = " 6.0.1 "
8+ version = " 6.0.2 "
99edition = " 2024"
1010
1111[dependencies ]
You can’t perform that action at this time.
0 commit comments