We now have our own repo for rspamd + should manage the version number directly in the changelog

This commit is contained in:
Alexandre Aubin 2018-07-02 14:36:46 +00:00
parent 9641e58a3d
commit 8ddee56c38
2 changed files with 2 additions and 8 deletions

View file

@ -25,7 +25,7 @@ git clone https://github.com/yunohost/yunohost-admin
git clone https://github.com/yunohost/ssowat SSOwat git clone https://github.com/yunohost/ssowat SSOwat
git clone https://github.com/yunohost/moulinette git clone https://github.com/yunohost/moulinette
git clone https://github.com/yunohost/metronome git clone https://github.com/yunohost/metronome
git clone https://github.com/vstakhov/rspamd git clone https://github.com/YunoHost/rspamd
git clone https://git.donarmstrong.com/unscd.git git clone https://git.donarmstrong.com/unscd.git
cd yunohost cd yunohost

View file

@ -62,13 +62,7 @@ function tweak_unscd()
function tweak_rspamd() function tweak_rspamd()
{ {
git checkout master readonly VERSION="$(dpkg-parsechangelog -S Version 2>/dev/null)+yunohost"
git pull origin master
# Get last tag and deduce version number to user...
local LASTTAG=$(git tag --list | grep "^1." | sort -n | tail -n1)
readonly VERSION="${LASTTAG}+yunohost"
git checkout $LASTTAG
} }
function build() function build()