diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2fd724..b967ec8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,3 +20,12 @@ jobs: - uses: grafana/plugin-actions/build-plugin@release with: policy_token: ${{ secrets.GRAFANA_POLICY_TOKEN }} + - name: Upload to Factry Portal + run: | + curl -X POST \ + -H "Authorization: Bearer ${{ secrets.FACTRY_PORTAL_PRODUCT_UPDATES_JWT_TOKEN }}" \ + -F "productType=${{steps.metadata.outputs.plugin-id }}" \ + -F "product=grafana-datasource" \ + -F "version=${{steps.metadata.outputs.plugin-version }}" \ + -F "binary=${{ steps.metadata.outputs.archive }}" \ + --url "${PORTAL_URL}/api/product-updates" diff --git a/Makefile b/Makefile index 9596dfd..3aa2921 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ major = 2 minor = 0 patch = 2 -prerelease = -beta +prerelease = -beta3 project_name=factry-historian-datasource COMMIT=$(shell git rev-parse --short HEAD) diff --git a/package.json b/package.json index f806fff..21e17b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "factry-historian-datasource", - "version": "2.0.2-beta", + "version": "2.0.2-beta3", "description": "A datasource plugin for Factry Historian", "scripts": { "build": "webpack -c ./.config/webpack/webpack.config.ts --env production",