Skip to content

Commit b12f370

Browse files
committed
Version
1 parent 3cdbdb6 commit b12f370

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
id: changesets
4646
uses: changesets/action@v1
4747
with:
48-
version: pnpm changeset version
48+
version: pnpm run version
4949
publish: pnpm run publish
5050
commit: "ci: release"
5151
title: "ci: release"

jsr.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@ascorbic/cdn-cache-control",
3-
"version": "1.2.0",
4-
"exports": "./src/index.ts",
5-
"license": "MIT"
2+
"name": "@ascorbic/cdn-cache-control",
3+
"version": "1.3.0",
4+
"exports": "./src/index.ts",
5+
"license": "MIT"
66
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"publish": "changeset publish && npx jsr publish",
4646
"lint": "pnpm run '/^lint:.*/'",
4747
"test": "pnpm build && node --test",
48-
"tsdoc": "tsdoc --src=src/index.ts && prettier --write README.md"
48+
"tsdoc": "tsdoc --src=src/index.ts && prettier --write README.md",
49+
"version": "changeset version && jq --arg version \"$(jq -r .version package.json)\" '.version = $version' jsr.json > jsr.json.tmp && mv jsr.json.tmp jsr.json"
4950
},
5051
"keywords": [],
5152
"author": "Matt Kane <m@mk.gg>",

0 commit comments

Comments
 (0)