Skip to content

Commit

Permalink
bump-version
Browse files Browse the repository at this point in the history
  • Loading branch information
kochis committed Jun 17, 2023
1 parent 4ca5cfe commit 24d85ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radar-sdk-js",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"description": "",
"type": "module",
"module": "dist/radar.js",
Expand All @@ -9,9 +9,9 @@
"prepublish": "npm run build",
"scripts": {
"build": "rollup -c",
"check-latest-tag": "node ./scripts/check-latest-tag.js",
"check-beta-tag": "node ./scripts/check-beta-tag.js",
"bump-version": "node ./scripts/bump-version.js",
"check-latest-tag": "node ./scripts/check-latest-tag.cjs",
"check-beta-tag": "node ./scripts/check-beta-tag.cjs",
"bump-version": "node ./scripts/bump-version.cjs",
"test": "jest --collect-coverage",
"test:watch": "jest --watch",
"demo": "node ./demo/server.cjs"
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump-version.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs');
const package = require('../package.json');
const lockfile = require('../package-lock.json');
const srcfile = fs.readFileSync('./src/version.js').toString();
const srcfile = fs.readFileSync('./src/version.ts').toString();

const current = package.version;
let version = process.argv[2];
Expand Down
1 change: 1 addition & 0 deletions src/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default '4.0.0-beta.2';

0 comments on commit 24d85ea

Please sign in to comment.