Skip to content

Commit 6713f00

Browse files
authored
Chore: [AEA-0000] - use gitTag to get version so it includes prefix and suffix (#95)
## Summary - Routine Change ### Details - use gitTag to get version so it includes prefix and suffix
1 parent 7a89b11 commit 6713f00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/semantic_release_jira/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ module.exports = {
5353
async success(pluginConfig, context) {
5454
const { nextRelease, commits } = context
5555

56-
const version = nextRelease.version
56+
// use gitTag so it includes the prefix and suffix
57+
const version = nextRelease.gitTag
5758

5859
// Extract Jira tickets from commit messages
5960
const jiraTickets = new Set()

0 commit comments

Comments
 (0)