Update release script logic

This commit is contained in:
Pavindu Lakshan 2025-04-16 17:18:33 +05:30
parent f84510d73c
commit 514f338cd1

View file

@ -13,7 +13,7 @@ set -e
set -o pipefail
# Check the number of arguments passed.
if [ "$#" -ne 2 ]; then
if [ "$#" -ne 3 ]; then
echo "Error: Invalid or insufficient arguments provided!" >&2
echo "Usage: $0 <GITHUB_TOKEN> <WORK_DIR>" >&2
exit 1