From 5ff87eb68a4eaf4e8929e8dada6e58b24d4f404a Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 11:49:44 -0800 Subject: [PATCH 1/3] New Cwtch Version --- LIBCWTCH-GO.version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LIBCWTCH-GO.version b/LIBCWTCH-GO.version index 96b37d41..79b03a0d 100644 --- a/LIBCWTCH-GO.version +++ b/LIBCWTCH-GO.version @@ -1 +1 @@ -2024-02-12-11-04-v0.0.12 \ No newline at end of file +2024-02-26-09-28-v0.0.13 \ No newline at end of file From ff0bb0b548496d55adc7184420c24fef10dbe471 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 12:20:06 -0800 Subject: [PATCH 2/3] Fix URL --- upload-releases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload-releases.sh b/upload-releases.sh index 1c19191f..c568d630 100755 --- a/upload-releases.sh +++ b/upload-releases.sh @@ -10,7 +10,7 @@ if [ "$RELEASEID" = "null" ]; then fi -URL="$PLUGIN_GOGS_URL/api/v1/repos/$DRONE_REPO/releases/$RELEASEID/assets?name=$1" +URL="https://git.openprivacy.ca/api/v1/repos/$DRONE_REPO/releases/$RELEASEID/assets?name=$1" FILE="@$1" RESULT=$(curl -o /dev/null -w "%{http_code}" -X POST -H "Authorization: token $GOGS_ACCOUNT_TOKEN" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "attachment=$FILE;type=$2" $URL) From a866d9ff8a6a06e763441a051b37bbd55a37601c Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 26 Feb 2024 12:22:57 -0800 Subject: [PATCH 3/3] Add Secret to Upload Nightlies Step --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 86890868..1fffae52 100644 --- a/.drone.yml +++ b/.drone.yml @@ -119,6 +119,7 @@ steps: environment: BUILDFILES_KEY: from_secret: buildfiles_key + secrets: [gogs_account_token] volumes: - name: deps path: /root/.pub-cache