Skip to content

Commit

Permalink
debug release
Browse files Browse the repository at this point in the history
  • Loading branch information
GooseOb committed May 10, 2024
1 parent 82f9c57 commit b2cb767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
- uses: oven-sh/setup-bun@v1
- run: bun i --frozen-lockfile
- run: bun run build
- run: echo "SCRIPT_VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
- uses: ncipollo/release-action@v1
with:
artifacts: 'dist/*'
tag: ${{ github.event.release.tag_name }}
tag: v${{ env.SCRIPT_VERSION }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"license": "MIT",
"scripts": {
"dev": "build-userscript --cfg build-config.ts",
"build": "build-userscript --cfg build-config.ts --build"
"build": "build-userscript --cfg build-config.ts --build",
"app:version": "echo $npm_package_version"
},
"type": "module",
"devDependencies": {
Expand Down

0 comments on commit b2cb767

Please sign in to comment.