From 8c6156385a8d6352681d32a1c96af8dcc01853f8 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 12:16:03 -0700 Subject: [PATCH 1/5] drone.yml: react to tag and publish results --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 284ea15..dfc417c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -82,6 +82,24 @@ steps: - cd .. - scp -r -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/ + - name: gitea-release + image: plugins/gitea-release + when: + event: tag + settings: + api_key: + from_secret: gogs_account_token + base_url: https://git.openprivacy.ca + files: + - libCwtch.so + - libCwtch.dll + - cwtch.aar + - cwtch-sources.jar + - libCwtch.h + checksum: + - sha256 + - sha512 + - name: notify-email image: drillster/drone-email settings: @@ -114,3 +132,4 @@ trigger: event: - push - pull_request + - tag From 4b95bbfe3e03bd4a89f517cf7a538013afd0eed0 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 13:34:05 -0700 Subject: [PATCH 2/5] drone.yml: drone gitea release try to get triggerable --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index dfc417c..4145cbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -67,7 +67,9 @@ steps: from_secret: buildfiles_key secrets: [gogs_account_token] when: - event: push + event: + - push + - tag status: [ success ] commands: - echo $BUILDFILES_KEY > ~/id_rsab64 @@ -127,7 +129,7 @@ volumes: temp: {} trigger: - repo: flutter/libcwtch-go + #repo: flutter/libcwtch-go branch: trunk event: - push From 3637ea68751702f537b36cd3d8974cb3fa1ee1aa Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 14:14:43 -0700 Subject: [PATCH 3/5] drone.yml: drone gitea release try to get triggerable --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4145cbb..9a7f062 100644 --- a/.drone.yml +++ b/.drone.yml @@ -130,7 +130,9 @@ volumes: trigger: #repo: flutter/libcwtch-go - branch: trunk + branch: + - trunk + - refs/tags/v* event: - push - pull_request From 31b5b4b13edc45a1fa30f3b348ee146e8029e3b0 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 16:20:52 -0700 Subject: [PATCH 4/5] drone.yml: drone gitea release try to get triggerable rm all restrictions --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9a7f062..3f9b055 100644 --- a/.drone.yml +++ b/.drone.yml @@ -130,9 +130,9 @@ volumes: trigger: #repo: flutter/libcwtch-go - branch: - - trunk - - refs/tags/v* + #branch: + # - trunk + # - refs/tags/v* event: - push - pull_request From d7e6af917ca3e79c620e6173f23ecce97d1559fc Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 16:33:23 -0700 Subject: [PATCH 5/5] drone.yml: drone gitea release: reenable trigger restrictions --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3f9b055..3455ba6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -129,10 +129,8 @@ volumes: temp: {} trigger: - #repo: flutter/libcwtch-go - #branch: - # - trunk - # - refs/tags/v* + repo: flutter/libcwtch-go + branch: trunk event: - push - pull_request