Fix helper script
This commit is contained in:
parent
26de530e97
commit
565a8afe09
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
git clone --depth 1 --branch master https://github.com/postgres/postgres.git
|
||||
cd postgres && git fetch --tags
|
||||
NEW_MINOR=$(cd postgres && git tag -l "REL_15_*" | sed -E "s/REL_15_([0-9]+)/\1/" | sort -n | tail -n 1)
|
||||
pushd postgres
|
||||
git fetch --tags
|
||||
NEW_MINOR=$(git tag -l "REL_15_*" | sed -E "s/REL_15_([0-9]+)/\1/" | sort -n | tail -n 1)
|
||||
popd
|
||||
pushd $PACKIT_DOWNSTREAM_REPO
|
||||
sed -i "s/\(%global prevversion %{prevmajorversion}\)\.[0-9]\+/\1.$NEW_MINOR/" $PACKIT_DOWNSTREAM_PACKAGE_NAME'
|
||||
popd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue