This commit is contained in:
parent
622ec88709
commit
7681bb4e79
1 changed files with 6 additions and 5 deletions
|
@ -38,6 +38,12 @@ jobs:
|
|||
StrictHostKeyChecking no
|
||||
EOF
|
||||
|
||||
- name: Sync with AUR master before changes
|
||||
run: |
|
||||
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
||||
git fetch aur master
|
||||
git rebase aur/master
|
||||
|
||||
- name: Clone upstream NaviThingy and compute pkgver
|
||||
run: |
|
||||
git clone --depth=1 https://github.com/vMohammad24/NaviThingy.git NaviThingy
|
||||
|
@ -61,10 +67,6 @@ jobs:
|
|||
|
||||
- name: Push to AUR
|
||||
run: |
|
||||
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
||||
git fetch aur master
|
||||
git rebase aur/master
|
||||
|
||||
git add PKGBUILD .SRCINFO
|
||||
if git diff --cached --quiet; then
|
||||
echo "No changes to commit."
|
||||
|
@ -72,4 +74,3 @@ jobs:
|
|||
fi
|
||||
git commit -m "Update to ${{ env.pkgver }}"
|
||||
git push aur HEAD:master
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue