Skip to content

Commit

Permalink
Interactive CLI with --non-interactive option.
Browse files Browse the repository at this point in the history
Improved error handling.

Hooks for running custom commands.

New command release as default command.

More commands such as check, commit and push
  • Loading branch information
muratgozel committed Oct 31, 2022
1 parent 5f0f213 commit 8a3b384
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .releaser.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"versioningScheme": "semver",
"versioningPrefix": "v",
"npmUpdatepackageVersion": true,
"npmUpdatePackageVersion": true,
"githubRelease": true,
"location": ".releaser.json",
"npmPublishPackage": true,
"gitlabRelease": true,
"gitlabRelease": false,
"dockerBuildPath": "."
}
4 changes: 3 additions & 1 deletion cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import commit from "./actions/commit.js";
import push from "./actions/push.js";
import release from "./actions/release.js";
// import docker from './actions/docker.js';
import "../lib/events/afterPush.js";
import "../lib/events/beforeCommit.js";
import "../lib/events/afterCommit.js";
import "../lib/events/beforePush.js";
import "../lib/events/afterPush.js";

const pkgpath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../package.json')
const pkg = JSON.parse( await readFile(pkgpath, {encoding: 'utf8'}) )
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-releaser",
"version": "v1.0.2",
"version": "v2.0.0-beta.1",
"description": "Software versioning, releasing and publishing tool.",
"main": "src/index.js",
"type": "module",
Expand Down Expand Up @@ -56,4 +56,4 @@
"jasmine": "^4.4.0",
"node-releaser": "^1.0.1"
}
}
}

0 comments on commit 8a3b384

Please sign in to comment.