Skip to content

Commit

Permalink
Make changes from feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brownjohnf committed Jul 13, 2017
1 parent f81bb38 commit 53326f2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Change Log

All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

# 2.8.3

* Update node to 6.11.1
Expand Down
17 changes: 11 additions & 6 deletions versionist.conf.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
var execSync = require('child_process').execSync;
'use strict';

var getAuthor = (commitHash) => {
return execSync(`git show --quiet --format="%an" ${commitHash}`, { encoding: 'utf8' }).replace('\n', '');
}
const execSync = require('child_process').execSync;

const getAuthor = (commitHash) => {
return execSync(`git show --quiet --format="%an" ${commitHash}`, {
encoding: 'utf8'
}).replace('\n', '');
};

module.exports = {
// This setup allows the editing and parsing of footer tags to get version and type information,
// as well as ensuring tags of the type 'v<major>.<minor>.<patch>' are used.
// It increments in a semver compatible fashion and allows the updating of NPM package info.
// It increments in a semver compatible fashion.
editChangelog: true,
parseFooterTags: true,
getGitReferenceFromVersion: 'v-prefix',
incrementVersion: 'semver',
updateVersion: (cwd, version, cb) => { cb(); },
editVersion: false,

// Always add the entry to the top of the Changelog, below the header.
addEntryToChangelog: {
Expand Down Expand Up @@ -57,3 +61,4 @@ module.exports = {
'{{/each}}'
].join('\n')
};

0 comments on commit 53326f2

Please sign in to comment.