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 d9d7623 commit a3a09edCopy full SHA for a3a09ed
1 file changed
scripts/publish.sh
@@ -21,4 +21,10 @@ if ! test -f ${rockspec}; then
21
exit 1
22
fi
23
24
-luarocks upload rockspecs/lua-evdev-${version}.rockspec --api-key=${LUAROCKS_API_KEY} $@
+declare force_upload=""
25
+
26
+if [[ "${LUAROCKS_UPLOAD_FORCE}" = "true" ]]; then
27
+ force_upload="--force"
28
+fi
29
30
+luarocks upload --api-key=${LUAROCKS_API_KEY} ${force_upload} ${rockspec}
0 commit comments