We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48ce57 commit 0624a27Copy full SHA for 0624a27
build.sh
@@ -51,8 +51,12 @@ echo '::group::Publishing'
51
git remote add aur "ssh://aur@aur.archlinux.org/${pkgname}.git"
52
git add -fv PKGBUILD .SRCINFO
53
case "$allow_empty_commits" in
54
-true) git commit --allow-empty -m "$commit_message" ;;
55
-false) git diff-index --quiet HEAD || git commit -m "$commit_message" ;; # use `git diff-index --quiet HEAD ||` to avoid error
+true)
+ git commit --allow-empty -m "$commit_message"
56
+ ;;
57
+false)
58
+ git diff-index --quiet HEAD || git commit -m "$commit_message" # use `git diff-index --quiet HEAD ||` to avoid error
59
60
*)
61
echo "::error::Invalid Value: inputs.allow_empty_commits is neither 'true' nor 'false': '$allow_empty_commits'"
62
exit 2
0 commit comments