fix common package commit message

will use the text "latest git commit" for common-git
pull/176/head
Jan Houben 8 years ago
parent b40589625e
commit 215b50f767
No known key found for this signature in database
GPG Key ID: B7C6B271DEB42D74
  1. 11
      push.sh

@ -97,8 +97,17 @@ push_packages() {
debug "PWD=${PWD}"
local cmd="cd \"${script_dir}/packages/${kernel_name}/${pkg}\" && "
if [[ ${push} -eq 1 ]]; then
if [[ ! -z ${kernel_version_full} ]]; then
vers=$(kernel_version_full_no_hyphen ${kernel_version_full})-${zfs_pkgrel}
elif [[ ! -z ${zfs_pkgver} ]]; then
vers=$zfs_pkgver
else
vers="latest git commit"
fi
cmd+="git --no-pager diff && echo && echo && git checkout master && git add . && "
cmd+="git commit -m 'Semi-automated update for $(kernel_version_full_no_hyphen ${kernel_version_full})-${zfs_pkgrel}'; git push"
cmd+="git commit -m 'Semi-automated update for $vers'; git push"
else
cmd+="git --no-pager diff"
fi

Loading…
Cancel
Save