Skip to content

Commit f8e7a57

Browse files
authored
Merge pull request #3 from Arianee/fix/tagsSort
fix/tagsSort
2 parents 44b7b1f + 7d2a939 commit f8e7a57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if (argv.prettyPrint) {
6262

6363
const groupBy = argv.groupBy === 'scope' ? 'scope' : 'type';
6464

65-
const tags = shortCut.getTagsOrderedByDate().split('\n').filter(t => t !== '').reverse();
65+
const tags = shortCut.getTagsOrderedByDate().split('\n').filter(t => t !== '');
6666

6767
const getFromTag = (tagNumber) => tags[+tagNumber];
6868

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "@arianee/gitool",
3-
"version": "1.22.0",
3+
"version": "1.24.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
77
"test": "jest",
8-
"prepublishOnly": "npm test && npm version minor --no-git-tag-version && node index.js -pao=changelog.md --pn=ProjectName --v=1.23.2 && git push"
8+
"postversion": "node index.js -po=changelog.md --pn=gitool --v=1.25.0"
99
},
1010
"bin": {
1111
"gitool": "index.js",

0 commit comments

Comments
 (0)