diff --git a/.releaser.json b/.releaser.json index 3996f6e..3b6fa35 100644 --- a/.releaser.json +++ b/.releaser.json @@ -1,10 +1,10 @@ { "versioningScheme": "semver", "versioningPrefix": "v", - "npmUpdatepackageVersion": true, + "npmUpdatePackageVersion": true, "githubRelease": true, "location": ".releaser.json", "npmPublishPackage": true, - "gitlabRelease": true, + "gitlabRelease": false, "dockerBuildPath": "." } \ No newline at end of file diff --git a/cli/index.js b/cli/index.js index 0d377c2..11d641f 100644 --- a/cli/index.js +++ b/cli/index.js @@ -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'}) ) diff --git a/package.json b/package.json index a580010..f38361d 100644 --- a/package.json +++ b/package.json @@ -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", @@ -56,4 +56,4 @@ "jasmine": "^4.4.0", "node-releaser": "^1.0.1" } -} +} \ No newline at end of file