This commit is contained in:
parent
55310dab56
commit
f04605a5e8
1 changed files with 6 additions and 7 deletions
|
@ -38,9 +38,13 @@ jobs:
|
||||||
StrictHostKeyChecking no
|
StrictHostKeyChecking no
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- name: Sync with AUR master before changes
|
- name: Configure AUR remote and sync
|
||||||
run: |
|
run: |
|
||||||
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
if ! git remote | grep -q "^aur$"; then
|
||||||
|
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
||||||
|
else
|
||||||
|
git remote set-url aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
||||||
|
fi
|
||||||
git fetch aur master
|
git fetch aur master
|
||||||
git rebase aur/master
|
git rebase aur/master
|
||||||
|
|
||||||
|
@ -67,10 +71,6 @@ jobs:
|
||||||
|
|
||||||
- name: Push to AUR
|
- name: Push to AUR
|
||||||
run: |
|
run: |
|
||||||
git remote add aur ssh://aur@aur.archlinux.org/navithingy-git.git
|
|
||||||
git fetch aur master
|
|
||||||
git rebase aur/master
|
|
||||||
|
|
||||||
git reset
|
git reset
|
||||||
git add PKGBUILD .SRCINFO navithingy-git.install
|
git add PKGBUILD .SRCINFO navithingy-git.install
|
||||||
|
|
||||||
|
@ -81,4 +81,3 @@ jobs:
|
||||||
|
|
||||||
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