This commit is contained in:
parent
7681bb4e79
commit
55310dab56
1 changed files with 9 additions and 1 deletions
|
@ -67,10 +67,18 @@ jobs:
|
||||||
|
|
||||||
- name: Push to AUR
|
- name: Push to AUR
|
||||||
run: |
|
run: |
|
||||||
git add PKGBUILD .SRCINFO
|
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
||||||
|
git fetch aur master
|
||||||
|
git rebase aur/master
|
||||||
|
|
||||||
|
git reset
|
||||||
|
git add PKGBUILD .SRCINFO navithingy-git.install
|
||||||
|
|
||||||
if git diff --cached --quiet; then
|
if git diff --cached --quiet; then
|
||||||
echo "No changes to commit."
|
echo "No changes to commit."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git commit -m "Update to ${{ env.pkgver }}"
|
git commit -m "Update to ${{ env.pkgver }}"
|
||||||
git push aur HEAD:master
|
git push aur HEAD:master
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue