Commit 1f2ebad7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

release_commit.sh: set -beta for even versions

parent be707f1b
......@@ -20,6 +20,9 @@ fi
SPECNAME=eepm.spec
version="$(get_version $SPECNAME)"
baseversion=$(echo "$version" | sed -e 's|\.[0-9]*$||')
[ $((version%2)) = 1 ] && version="$version-beta"
./pack_in_onefile.sh || exit
......@@ -29,7 +32,6 @@ git commit packed -m "commit packed $version"
push_tag $version
gpush pub.github
baseversion=$(echo "$version" | sed -e 's|\.[0-9]*$||')
rpmpub /var/ftp/pub/Korinf/sources
#rpmpub /var/ftp/pub/Etersoft/EPM/$baseversion/sources
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