Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vseplet committed Jun 6, 2024
1 parent 6fe37c2 commit 11dd2ab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ format to suit their preferences.
### Usage

```ts
import luminous from 'jsr:@NaN.3.0/;
import luminous from 'jsr:@0.3.0';

const log = new luminous.Logger();
log.trc`Hello, World!`;
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"noImplicitReturns": true,
"exactOptionalPropertyTypes": true
}
}
}
2 changes: 1 addition & 1 deletion source/versions.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default [ 0.3.0, 0.2.0, 0.1.0 ];
export default [ "0.3.0", "0.2.0", "0.1.0" ];
8 changes: 4 additions & 4 deletions update-semver-deploy-jsr.workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ const workflow = core.workflow(UpdateVersionContext)

if (match && match[1]) {
const versions = match[1]
.split(',')
.map((version) => version.trim().replace(/"/g, ''))
.filter((version) => version !== '');
.split(',');

ctx.version = incrementSemver(versions[0], 'minor');

newVersionsTS = `export default [ ${
[ctx.version, ...versions].map((version) => version)
[ctx.version, ...versions].map((version) =>
`"${version}"`
)
.join(', ')
} ];\n`;
} else {
Expand Down

0 comments on commit 11dd2ab

Please sign in to comment.