Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
type: string
default: ''
workflow_dispatch:
inputs:
version:
description: version to publish (empty keeps jsr.json's)
type: string
default: ''

permissions:
contents: read
Expand All @@ -34,4 +39,5 @@ jobs:
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- run: deno publish
# setting the version changes files, which deno publish otherwise refuses
- run: deno publish --allow-dirty
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ jobs:

# regular releases commit their version to the default branch (on top of what was merged since the tag), so
# package.json there shows the latest release; prereleases and fixes for older majors leave it alone
# (once npm has the release: a failing JSR publish can be repeated by hand, see jsr.yml)
version:
needs: [check, publish, jsr]
needs: [check, publish]
if: needs.check.outputs.dist-tag == 'latest'
runs-on: ubuntu-latest
permissions:
Expand Down
12 changes: 10 additions & 2 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"name": "@matmen/imagescript",
"version": "3.0.0",
"version": "3.1.0",
"license": "MIT",
"exports": "./src/index.ts",
"publish": {
"include": ["src", "README.md", "LICENSE", "LICENSE.MIT", "LICENSE.AGPL-3.0", "THIRD_PARTY_NOTICES.md", "licenses"]
"include": [
"src",
"README.md",
"LICENSE",
"LICENSE.MIT",
"LICENSE.AGPL-3.0",
"THIRD_PARTY_NOTICES.md",
"licenses"
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "imagescript",
"version": "3.0.0",
"version": "3.1.0",
"description": "zero-dependency javascript image manipulation",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// kept in sync with package.json by scripts/version.js
export const VERSION = '3.0.0';
export const VERSION = '3.1.0';
Loading