New Cwtch Version #853

Merged
sarah merged 3 commits from android_foreground_fix into trunk 2024-02-26 21:52:01 +00:00
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"
Review

or borrow from the notify step in drone

    settings:
      gogs_url: https://git.openprivacy.ca
or borrow from the notify step in drone ``` settings: gogs_url: https://git.openprivacy.ca ```
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)