Merge pull request #140 from TriPSs/master

Release removal of node_modules
releases/v3
Tycho Bokdam 2021-10-05 23:16:21 +02:00 committed by GitHub
commit c290ab6488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 11 deletions

View File

@ -1,6 +1,7 @@
name: 'Conventional Changelog Action'
description: 'Bump version, tag commit and generates changelog with conventional commits.'
author: 'Tycho Bokdam'
runs:
using: 'node12'
main: 'lib/index.js'

View File

@ -10,9 +10,7 @@ module.exports = class Git extends BaseVersioning {
return new Promise((resolve) => {
const tagPrefix = core.getInput('tag-prefix')
gitSemverTags({
tagPrefix,
}, async(err, tags) => {
gitSemverTags({ tagPrefix, }, async (err, tags) => {
const currentVersion = tags.length > 0 ? tags.shift().replace(tagPrefix, '') : null
// Get the new version