Commit c73d93a5 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: add ETERBUILD_SIGN_CHANGELOG support

parent 28615256
...@@ -947,7 +947,7 @@ fi ...@@ -947,7 +947,7 @@ fi
CURVER=$(get_version $spec) CURVER=$(get_version $spec)
CURREL=$(get_release $spec) CURREL=$(get_release $spec)
EGEARME="" EGEARME=""
is_gear && EGEARME=" with rpmgs script" [ -n "$ETERBUILD_SIGN_CHANGELOG" ] && is_gear && EGEARME=" (with rpmgs script)"
if grep -q "^- new version $CURVER$" $spec ; then if grep -q "^- new version $CURVER$" $spec ; then
subst "s|- new version $CURVER$|- new version ($CURVER)$EGEARME via gear-uupdate|" $spec && git commit --amend $spec subst "s|- new version $CURVER$|- new version ($CURVER)$EGEARME via gear-uupdate|" $spec && git commit --amend $spec
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment