Skip to content

Commit

Permalink
slightly change versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfrenken committed Feb 5, 2024
1 parent f46a33f commit e8ceb26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ async function run() {
skipBump
)

newVersion = versioning.newVersion
oldVersion = versioning.oldVersion
newVersion = skipBump ? oldVersion : versioning.newVersion

} else {
const files = versionFile.split(',').map((f) => f.trim())
Expand All @@ -147,8 +147,8 @@ async function run() {
})
)

newVersion = versioning[0].newVersion
oldVersion = versioning[0].oldVersion
newVersion = skipBump ? oldVersion : versioning[0].newVersion
}

let gitTag = `${tagPrefix}${newVersion}`
Expand Down

0 comments on commit e8ceb26

Please sign in to comment.