Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conventional-github-releaser

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-github-releaser - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

12

CHANGELOG.md

@@ -0,1 +1,13 @@

<a name="1.1.3"></a>
## [1.1.3](https://github.com/conventional-changelog/conventional-github-releaser/compare/v1.1.2...v1.1.3) (2016-06-12)
### Bug Fixes
* **cli:** config option issue (#19) ([a958ea9](https://github.com/conventional-changelog/conventional-github-releaser/commit/a958ea9))
* **cli:** fix unit test error ([6a80929](https://github.com/conventional-changelog/conventional-github-releaser/commit/6a80929))
* **test:** use github user from env validable ([c787ea4](https://github.com/conventional-changelog/conventional-github-releaser/commit/c787ea4))
<a name="1.1.2"></a>

@@ -2,0 +14,0 @@ ## [1.1.2](https://github.com/conventional-changelog/conventional-github-releaser/compare/v1.1.1...v1.1.2) (2016-04-17)

28

cli.js

@@ -5,2 +5,3 @@ #!/usr/bin/env node

var conventionalGithubReleaser = require('./');
var resolve = require('path').resolve;

@@ -33,3 +34,2 @@ var cli = meow({

' Example of a config script: https://github.com/conventional-changelog/conventional-changelog-angular/blob/master/index.js',
' This value is ignored if preset is specified',
'',

@@ -50,2 +50,3 @@ ' -c, --context A filepath of a javascript that is used to define template variables'

var config;
var flags = cli.flags;

@@ -60,16 +61,22 @@

if (flags.context) {
templateContext = require(flags.context);
templateContext = require(resolve(process.cwd(), flags.context));
}
if (flags.gitRawCommitsOpts) {
gitRawCommitsOpts = require(flags.gitRawCommitsOpts);
if (flags.config) {
config = require(resolve(process.cwd(), flags.config));
} else {
config = {};
}
if (flags.parserOpts) {
parserOpts = require(flags.parserOpts);
if (config.gitRawCommitsOpts) {
gitRawCommitsOpts = config.gitRawCommitsOpts;
}
if (flags.writerOpts) {
writerOpts = require(flags.writerOpts);
if (config.parserOpts) {
parserOpts = config.parserOpts;
}
if (config.writerOpts) {
writerOpts = config.writerOpts;
}
} catch (err) {

@@ -85,4 +92,3 @@ console.error('Failed to get file. ' + err);

},
releaseCount: flags.releaseCount,
config: flags.config
releaseCount: flags.releaseCount
};

@@ -98,3 +104,3 @@

token: flags.token || process.env.CONVENTIONAL_GITHUB_RELEASER_TOKEN
}, changelogOpts, templateContext, function(err, data) {
}, changelogOpts, templateContext, gitRawCommitsOpts, parserOpts, writerOpts, function(err, data) {
if (err) {

@@ -101,0 +107,0 @@ console.error(err.toString());

{
"name": "conventional-github-releaser",
"version": "1.1.2",
"version": "1.1.3",
"description": "Make a new GitHub release from git metadata",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/conventional-changelog/conventional-github-releaser",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc