fix version #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' # Run workflow on version tags, e.g. v1.0.0. | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: local modifications for release | |
run: | | |
npm version '${{ github.ref_name }}' --no-git-tag-version | |
jq '.scripts += {"sign":"npx --yes @grafana/sign-plugin@latest --rootUrls https://opsstack-grafana.test,https://deepview.10010.opsstack.io,https://deepview.10011.opsstack.io,https://deepview.10012.opsstack.io,https://deepview.10013.opsstack.io,https://deepview.10014.opsstack.io,https://deepview.10015.opsstack.io,https://deepview.10016.opsstack.io,https://deepview.10017.opsstack.io,https://deepview.10018.opsstack.io,https://deepview.10019.opsstack.io,https://deepview.10020.opsstack.io,https://deepview.10021.opsstack.io,https://deepview.10022.opsstack.io,https://deepview.10023.opsstack.io,https://deepview.10024.opsstack.io,https://deepview.10025.opsstack.io,https://deepview.10026.opsstack.io,https://deepview.10027.opsstack.io,https://deepview.10028.opsstack.io,https://deepview.10029.opsstack.io,https://deepview.10030.opsstack.io,https://deepview.10031.opsstack.io,https://deepview.10032.opsstack.io,https://deepview.10033.opsstack.io,https://deepview.10034.opsstack.io,https://deepview.10035.opsstack.io,https://deepview.10036.opsstack.io,https://deepview.10037.opsstack.io,https://deepview.10038.opsstack.io,https://deepview.10039.opsstack.io,https://deepview.10040.opsstack.io,https://deepview.10041.opsstack.io,https://deepview.10042.opsstack.io,https://deepview.10043.opsstack.io,https://deepview.10044.opsstack.io,https://deepview.10045.opsstack.io,https://deepview.10046.opsstack.io,https://deepview.10047.opsstack.io,https://deepview.10048.opsstack.io,https://deepview.10049.opsstack.io,https://deepview.10050.opsstack.io,https://deepview.10051.opsstack.io,https://deepview.10052.opsstack.io,https://deepview.10053.opsstack.io,https://deepview.10054.opsstack.io,https://deepview.10055.opsstack.io,https://deepview.10056.opsstack.io,https://deepview.10057.opsstack.io,https://deepview.10058.opsstack.io,https://deepview.10059.opsstack.io,https://deepview.10060.opsstack.io,https://deepview.10061.opsstack.io,https://deepview.10062.opsstack.io,https://deepview.10063.opsstack.io,https://deepview.10064.opsstack.io,https://deepview.10065.opsstack.io,https://deepview.10066.opsstack.io,https://deepview.10067.opsstack.io,https://deepview.10068.opsstack.io,https://deepview.10069.opsstack.io,https://deepview.10070.opsstack.io,https://deepview.10071.opsstack.io,https://deepview.10072.opsstack.io,https://deepview.10073.opsstack.io,https://deepview.10074.opsstack.io,https://deepview.10075.opsstack.io,https://deepview.10076.opsstack.io,https://deepview.10077.opsstack.io,https://deepview.10078.opsstack.io,https://deepview.10079.opsstack.io,https://deepview.10080.opsstack.io,https://deepview.10081.opsstack.io,https://deepview.10082.opsstack.io,https://deepview.10083.opsstack.io,https://deepview.10084.opsstack.io,https://deepview.10085.opsstack.io,https://deepview.10086.opsstack.io,https://deepview.10087.opsstack.io,https://deepview.10088.opsstack.io,https://deepview.10089.opsstack.io,https://deepview.10090.opsstack.io,https://deepview.10091.opsstack.io,https://deepview.10092.opsstack.io,https://deepview.10093.opsstack.io,https://deepview.10094.opsstack.io,https://deepview.10095.opsstack.io,https://deepview.10096.opsstack.io,https://deepview.10097.opsstack.io,https://deepview.10098.opsstack.io,https://deepview.10099.opsstack.io,https://deepview.10100.opsstack.io,https://deepview.cdt.opsstack.io,https://deepview.cdt.dev.opsstack.io,https://deepview.jok.local.opsstack.io,https://deepview.chris.local.opsstack.io,https://deepview.nr.local.opsstack.io"}' package.json > package.tmp.json | |
mv package.tmp.json package.json | |
rm -rf tools # Remove tools directory | |
- uses: grafana/plugin-actions/build-plugin@d381e10ef234721a03e28af8017e290dc225e945 # commit of 2024-07-08 | |
with: | |
policy_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }} | |
go-version: '1.22' |