summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdoto2023-05-07 22:11:32 +0200
committerburdoto2023-05-07 22:11:32 +0200
commitb47b65e65748ae95378dee07463c0dcdc78b38a1 (patch)
tree339a9a9ebf5d160e2217b8a30e2713c297b6e75a
parent36c25321749d254d24983b30caa076e8aaaf00b9 (diff)
downloadaur-b47b65e65748ae95378dee07463c0dcdc78b38a1.tar.gz
Update publish.sh
-rwxr-xr-xpublish.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/publish.sh b/publish.sh
index 3e7077b074f0..cc0fc28bdc98 100755
--- a/publish.sh
+++ b/publish.sh
@@ -9,7 +9,8 @@ dotnet build -c Release
# update SRCINFO
makepkg --printsrcinfo > .SRCINFO
-git reset || true
+git clean -f
+git reset --hard
(git add .SRCINFO && git commit -m "SRCINFO" && git push) || true
# create tarball