Skip to content

Commit b9b39dd

Browse files
author
Mikhail
committed
Update Release workflow
1 parent 77d5efd commit b9b39dd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ jobs:
5757
fi
5858
5959
- name: Setup Go environment
60-
if: steps.check-for-backend.outputs.has-backend == 'true'
6160
uses: actions/setup-go@v2
6261
with:
63-
go-version: "1.14"
62+
go-version: "1.15"
6463

6564
- name: Test backend
6665
if: steps.check-for-backend.outputs.has-backend == 'true'
@@ -77,7 +76,7 @@ jobs:
7776
args: buildAll
7877

7978
- name: Sign plugin
80-
run: yarn run grafana-toolkit plugin:sign
79+
run: yarn sign
8180
env:
8281
GRAFANA_API_KEY: ${{ secrets.GRAFANA_API_KEY }} # Requires a Grafana API key from Grafana.com.
8382

@@ -160,6 +159,6 @@ jobs:
160159

161160
- name: Publish to Grafana.com
162161
run: |
163-
echo Publish your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
162+
echo A draft release has been created for your plugin. Please review and publish it. Then submit your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
164163
echo
165-
echo '{ "id": "${{ steps.metadata.outputs.plugin-id }}", "type": "${{ steps.metadata.outputs.plugin-type }}", "url": "https://github.com/${{ github.repository }}", "versions": [ { "version": "${{ steps.metadata.outputs.plugin-version }}", "commit": "${{ github.sha }}", "url": "https://github.com/${{ github.repository }}", "download": { "any": { "url": "${{ steps.upload-plugin-asset.outputs.browser_download_url }}", "md5": "${{ steps.package-plugin.outputs.checksum }}" } } } ] }' | jq .
164+
echo '{ "id": "${{ steps.metadata.outputs.plugin-id }}", "type": "${{ steps.metadata.outputs.plugin-type }}", "url": "https://github.com/${{ github.repository }}", "versions": [ { "version": "${{ steps.metadata.outputs.plugin-version }}", "commit": "${{ github.sha }}", "url": "https://github.com/${{ github.repository }}", "download": { "any": { "url": "https://github.com/${{ github.repository }}/releases/download/v${{ steps.metadata.outputs.plugin-version }}/${{ steps.metadata.outputs.archive }}", "md5": "${{ steps.package-plugin.outputs.checksum }}" } } } ] }' | jq .

0 commit comments

Comments
 (0)