We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dabc703 commit 1ccc60fCopy full SHA for 1ccc60f
.github/workflows/publish.yml
@@ -40,6 +40,12 @@ jobs:
40
- name: Test
41
run: bun run test
42
43
+ - name: "Set version from tag"
44
+ run: |
45
+ VERSION=${GITHUB_REF#refs/tags/v}
46
+ echo "Setting version to $VERSION"
47
+ npm version $VERSION --no-git-tag-version --allow-same-version
48
+
49
- name: "Publish"
50
env:
51
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "elysia-csrf",
3
- "version": "0.0.3",
+ "version": "0.0.0",
4
"description": "CSRF protection plugin for Elysia with cookie-based token storage",
5
"main": "src/index.ts",
6
"module": "src/index.ts",
0 commit comments