1 parent da6b54e commit 9d7ccfdCopy full SHA for 9d7ccfd
1 file changed
.github/workflows/release.yml
@@ -186,6 +186,10 @@ jobs:
186
cd /home/builduser
187
if git clone ssh://aur@aur.archlinux.org/krosshair.git aur-push 2>&1; then
188
echo "Cloned existing AUR repo"
189
+ cd aur-push
190
+ git fetch origin
191
+ git reset --hard origin/master
192
+ cd ..
193
else
194
echo "Creating new AUR repo"
195
mkdir -p aur-push
@@ -195,6 +199,7 @@ jobs:
199
cd ..
196
200
fi
197
201
202
+ rm -rf aur-push/*
198
203
cp aur/PKGBUILD aur-push/
204
cp aur/krosshair.install aur-push/
205
0 commit comments