release_commit.sh 426 Bytes
#!/bin/sh

# load common functions, compatible with local and installed script
. /usr/share/eterbuild/eterbuild
load_mod spec etersoft

SPECNAME=eepm.spec
version="$(get_version $SPECNAME)"

./pack_in_onefile.sh

git add packed
git commit packed -m "commit packed $version"
git tag -a "$version" -e -s -m "$(rpmlog -q --last-changelog ; echo)"
git push pub.github $version
gpush pub.github

rpmpub /var/ftp/pub/Korinf/sources