@thisismanta/semantic-version 5.0.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ async function main() {
58
58
  const releaseType = getReleaseType(commits);
59
59
  (0, debug_1.debug)('releaseType »', JSON.stringify(releaseType));
60
60
  if (!releaseType) {
61
- console.log('Done without releasing a new version');
61
+ console.log('Done without a new version');
62
62
  return;
63
63
  }
64
64
  await run(`npm version --git-tag-version ${releaseType}`);
@@ -77,11 +77,11 @@ async function main() {
77
77
  ...github.context.repo,
78
78
  tag_name: 'v' + nextVersion,
79
79
  body: releaseNote,
80
- make_latest: true, // TODO: compare with the latest release
80
+ make_latest: 'true', // TODO: compare with the latest release
81
81
  });
82
82
  (0, debug_1.debug)('releaseRespond »', JSON.stringify(releaseRespond, null, 2));
83
83
  if (releaseRespond.status >= 200 && releaseRespond.status < 300) {
84
- console.log('Created', releaseRespond.data.url);
84
+ console.log('Done with', releaseRespond.data.url);
85
85
  }
86
86
  }
87
87
  async function run(command) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisismanta/semantic-version",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "author": "Anantachai Saothong <thisismanta@gmail.com>",
5
5
  "license": "ISC",
6
6
  "engines": {