Skip to content

Commit 46a18a4

Browse files
committed
publish: use jsr token
1 parent 5413fcb commit 46a18a4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@honk/porffor",
3-
"version": "0.58.1",
3+
"version": "0.58.2",
44
"exports": "./compiler/wrap.js",
55
"publish": {
66
"exclude": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "porffor",
33
"description": "An ahead-of-time JavaScript compiler",
4-
"version": "0.58.1",
4+
"version": "0.58.2",
55
"author": "Oliver Medhurst <[email protected]>",
66
"license": "MIT",
77
"scripts": {},

publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ execSync(`git add package.json jsr.json runtime/index.js`, { stdio: 'inherit' }
2222
execSync(`git commit --amend -C HEAD --no-verify`, { stdio: 'inherit' });
2323

2424
execSync(`${process.env.NPM_BINARY ?? 'npm'} publish`, { stdio: 'inherit' });
25-
execSync(`${process.env.NPM_BINARY ?? 'npm'} x jsr -- publish --allow-dirty`, { stdio: 'inherit' });
25+
execSync(`${process.env.NPM_BINARY ?? 'npm'} x jsr -- publish --token=${process.env.JSR_TOKEN} --allow-dirty`, { stdio: 'inherit' });

runtime/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
import fs from 'node:fs';
3-
globalThis.version = '0.58.1';
3+
globalThis.version = '0.58.2';
44

55
// deno compat
66
if (typeof process === 'undefined' && typeof Deno !== 'undefined') {

0 commit comments

Comments
 (0)