File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ function commit_release() {
45
45
version=$( perl -ne ' print $1 if (/^version = "(.+)"$/)' $crate /Cargo.toml)
46
46
git add $crate /Cargo.toml &&
47
47
git commit -s -m " $crate : Release v$version " &&
48
- git tag " $crate -v$version " -a -m " Release $version "
48
+ git tag " $crate -v$version " -s - a -m " Release $version "
49
49
}
50
50
51
51
function do_cargo_release() {
@@ -56,7 +56,7 @@ function do_cargo_release() {
56
56
}
57
57
58
58
function do_libosdp_sys_bump() {
59
- latest_release=$( curl -s https://api.github.com/repos/gotoMain/libosdp/releases/latest | jq -r . tag_name)
59
+ latest_release=$( curl -s https://api.github.com/repos/gotoMain/libosdp/releases/latest | grep ' tag_name ' | perl -pe ' s|\s+" tag_name": "(.+)",|$1| ' )
60
60
version=$( perl -ne ' print $1 if (/^version = "(.+)"$/)' libosdp-sys/Cargo.toml)
61
61
if [[ " ${latest_release} " == " v${version} " ]]; then
62
62
echo " Nothing to be done"
You can’t perform that action at this time.
0 commit comments