mirror of
https://github.com/SchildiChat/schildichat-desktop.git
synced 2025-03-31 05:14:04 +02:00
Meh, flathub seems to require PRs now 🐐
This commit is contained in:
parent
3c405aeaf6
commit
b6fe959153
@ -20,8 +20,11 @@ debdate=$(date +%Y-%m-%d -r $debpath)
|
|||||||
pushd "$repopath" > /dev/null
|
pushd "$repopath" > /dev/null
|
||||||
|
|
||||||
git fetch
|
git fetch
|
||||||
|
git checkout master
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
|
||||||
|
git checkout -B "release-v$version"
|
||||||
|
|
||||||
yamlFile="chat.schildi.desktop.yaml"
|
yamlFile="chat.schildi.desktop.yaml"
|
||||||
xmlFile="chat.schildi.desktop.metainfo.xml"
|
xmlFile="chat.schildi.desktop.metainfo.xml"
|
||||||
|
|
||||||
@ -33,8 +36,8 @@ sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=
|
|||||||
git add $yamlFile $xmlFile
|
git add $yamlFile $xmlFile
|
||||||
git commit -m "Bump version to v$version"
|
git commit -m "Bump version to v$version"
|
||||||
|
|
||||||
git push
|
git push -f --set-upstream origin "release-v$version"
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
echo "Release v$version published on flathub!"
|
echo "Release v$version published on flathub, now merge that branch as PR: https://github.com/flathub/chat.schildi.desktop/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user