shelljs-changelog
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -12,3 +12,6 @@ #!/usr/bin/env node | ||
config.silent = true; | ||
exec('curl -X POST -s "github-changelog-api.herokuapp.com/shelljs/shx"').to('CHANGELOG.md'); | ||
var repoInfo = exec('git remote show -n origin') | ||
.grep('Push') | ||
.match(/https:..github.com\/([^./]+)\/([^./]+).*/); | ||
exec('curl -X POST -s "github-changelog-api.herokuapp.com/'+repoInfo[1]+'/'+repoInfo[2]+'"').to('CHANGELOG.md'); | ||
@@ -15,0 +18,0 @@ var changelog_was_updated = false; |
{ | ||
"name": "shelljs-changelog", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A simple script to create & update a changelog", | ||
@@ -8,2 +8,3 @@ "main": "index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"changelog": "node index.js", | ||
"release:major": "release major", | ||
@@ -10,0 +11,0 @@ "release:minor": "release minor", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2656
5
28