Skip to content

Commit

Permalink
fix(slack): use tag name instead of release tag (#609)
Browse files Browse the repository at this point in the history
Co-authored-by: Eunjae Lee <[email protected]>
  • Loading branch information
2 people authored and Eunjae Lee committed Jan 14, 2020
1 parent b5e576a commit f183425
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/shipjs-lib/src/lib/config/defaultConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default {
releaseSuccess: ({
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand All @@ -192,7 +192,7 @@ export default {
},
{
title: 'Release',
value: `${repoURL}/releases/tag/${releaseTag}`,
value: `${repoURL}/releases/tag/${tagName}`,
},
],
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/shipjs/src/flow/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function release({ help = false, dir = '.', dryRun = false }) {
config,
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand Down
4 changes: 2 additions & 2 deletions packages/shipjs/src/step/release/notifyReleaseSuccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default async ({
config,
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand All @@ -23,7 +23,7 @@ export default async ({
config,
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand Down
4 changes: 2 additions & 2 deletions packages/shipjs/src/util/slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function notifyReleaseSuccess({
config,
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand All @@ -81,7 +81,7 @@ export async function notifyReleaseSuccess({
? releaseSuccess({
appName,
version,
releaseTag,
tagName,
latestCommitHash,
latestCommitUrl,
repoURL,
Expand Down

0 comments on commit f183425

Please sign in to comment.