Merge pull request 'New Cwtch Version' (#853) from android_foreground_fix into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #853
Reviewed-by: Dan Ballard <dan@openprivacy.ca>
This commit is contained in:
Sarah Jamie Lewis 2024-02-26 21:52:00 +00:00
commit fcd16b19c8
3 changed files with 3 additions and 2 deletions

View File

@ -119,6 +119,7 @@ steps:
environment:
BUILDFILES_KEY:
from_secret: buildfiles_key
secrets: [gogs_account_token]
volumes:
- name: deps
path: /root/.pub-cache

View File

@ -1 +1 @@
2024-02-12-11-04-v0.0.12
2024-02-26-09-28-v0.0.13

View File

@ -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)