From ba4a194b5f2262b32d0bb31a1bc03603e935d755 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 1 Apr 2021 08:52:48 -0400 Subject: [PATCH] submit-builds: rename config variable --- submit-builds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submit-builds b/submit-builds index f37f732..57fcfdd 100755 --- a/submit-builds +++ b/submit-builds @@ -13,7 +13,7 @@ do upstream="$OPTARG" ;; t) - oauth_token="$OPTARG" + legacy_token="$OPTARG" ;; h) echo "Usage: $0 [-u https://upstream...] [-t oauth token] " @@ -44,7 +44,7 @@ sed "s/packages: \\[\\]/packages: [$builds]/g" < build.yml | jq -sR '{ "tags": ["sr.ht-apkbuilds"], "note": "'"$note"'" }' | curl \ - -H Authorization:"token $oauth_token" \ + -H Authorization:"token $legacy_token" \ -H Content-Type:application/json \ -X POST \ -d @- $upstream/api/jobs -- 2.45.2