From f597db2f1bbc0e3c602f2c2c8c7f019a7e5b90f0 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Mon, 18 May 2020 14:30:55 +0200 Subject: [PATCH] Fix typo in issue_id variable, see #20 --- .utilities/package_update_notifier.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.utilities/package_update_notifier.sh b/.utilities/package_update_notifier.sh index c01516b..3fe1815 100644 --- a/.utilities/package_update_notifier.sh +++ b/.utilities/package_update_notifier.sh @@ -36,7 +36,7 @@ if [[ -n "$ISSUE_ID" ]]; then echo "An issue exist, but is closed. Removing ISSUE_ID schedule variable..." curl -X DELETE \ -H "PRIVATE-TOKEN: $REPORTER_BOT_ACCESS_TOKEN" \ - https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/pipeline_schedules/$SCHEDULE_ID/variables/ISSUES_ID + https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/pipeline_schedules/$SCHEDULE_ID/variables/$ISSUE_ID else exit_with_message_and_code "An issue already exists, it is not closed yet." 0 fi