Skip to content

Commit

Permalink
buid: sign
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchanglong committed Jun 13, 2024
1 parent 1029ae2 commit 10ccb0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
-
name: Run Mage
uses: magefile/mage-action@v3
- name: sign
run: yarn sign
env:
GRAFANA_ACCESS_POLICY_TOKEN: ${{ secrets.SIGN_TOKEN }}
- name: zip
run: yarn zip
- name: Release
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"lint:fix": "npm run lint -- --fix",
"e2e": "playwright test",
"server": "docker-compose up --build",
"sign": "rm -rf info8fcc-greptimedb-datasource && rm -rf info8fcc-greptimedb-datasource*.zip && npx @grafana/[email protected] --rootUrls http://localhost:3000",
"zip": "mv dist/ info8fcc-greptimedb-datasource && zip info8fcc-greptimedb-datasource.zip info8fcc-greptimedb-datasource -r",
"sign": "npx @grafana/[email protected] --rootUrls http://localhost:3000",
"zip": "rm -rf info8fcc-greptimedb-datasource && rm -rf info8fcc-greptimedb-datasource*.zip && mv dist/ info8fcc-greptimedb-datasource && zip info8fcc-greptimedb-datasource.zip info8fcc-greptimedb-datasource -r",
"unzip": "unzip info8fcc-greptimedb-datasource.zip -d /usr/local/var/lib/grafana/plugins",
"buildzip": "yarn build && mage && yarn sign && yarn zip"
},
Expand Down

0 comments on commit 10ccb0b

Please sign in to comment.