mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
pkg.sh: Beautify release commit messages
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cc60cb1998
commit
d67c42c6f3
1 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ check_update_version()
|
|||
local next=`check_next_version`
|
||||
if [ "$next" != "$v" ]; then
|
||||
echo "$next-dev" > VERSION
|
||||
scm_commit -m "o $next" VERSION
|
||||
scm_commit -m "Started version: $next" VERSION
|
||||
return 0
|
||||
fi
|
||||
return 1
|
||||
|
|
@ -565,7 +565,7 @@ upload_pkg()
|
|||
$SCM add $TOPDIR/HASH || true
|
||||
echo "+ scheduling rebuild"
|
||||
$SSH -l root $server /opt/packager-server/bin/packager-server schedule-rebuild
|
||||
scm_commit -m "o $v@`platform`" $TOPDIR/LAST_RPM_VERSION $TOPDIR/HASH
|
||||
scm_commit -m "Released $v@`platform`" $TOPDIR/LAST_RPM_VERSION $TOPDIR/HASH
|
||||
if [ "$SCM" = git ]; then
|
||||
git push || true
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue