Skip to content

Commit

Permalink
bump version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
halvardssm committed Apr 28, 2024
1 parent 16ae3d4 commit ceebea6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ console.log(dump(buffer));

## Packages

- [encoding](https://jsr.io/@stdext/encoding): Packages
- [encoding](https://jsr.io/@stdext/encoding): The encoding package contains
helpers for text encoding.

## Versioning

Expand Down
4 changes: 1 addition & 3 deletions _tools/bump_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async function updateMetaVersion(filepath: string, version: string) {
metaConfig.version = version;
await Deno.writeTextFile(
filepath,
JSON.stringify(metaConfig, null, 2),
JSON.stringify(metaConfig, null, 2) + "\n",
);
}

Expand All @@ -26,8 +26,6 @@ if (!version) {
throw new Error("VERSION environment variable is required");
}

await updateMetaVersion(resolve("deno.json"), version);

for (const workspace of workspaces) {
const workspacePath = resolve(workspace);
const workspaceConfigPath = join(workspacePath, "deno.json");
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@std/path": "jsr:@std/path@^0.224.0"
},
"tasks": {
"bump_version": "deno run ./_tools/bump_version.ts",
"bump_version": "deno run --allow-env=VERSION --allow-read=. --allow-write=. ./_tools/bump_version.ts",
"check": "deno fmt --check && deno lint && deno check **/*.ts",
"test": "RUST_BACKTRACE=1 deno test --unstable-http --unstable-webgpu --allow-all --parallel --coverage --trace-leaks",
"cov:gen": "deno coverage coverage --lcov --output=cov.lcov"
Expand Down
2 changes: 1 addition & 1 deletion encoding/deno.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.0-1",
"version": "0.0.1",
"name": "@stdext/encoding",
"lock": false,
"exports": {
Expand Down

0 comments on commit ceebea6

Please sign in to comment.