Skip to content

Commit

Permalink
Update release ready message
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-rehn committed Feb 14, 2025
1 parent 24b9c80 commit dffb015
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ export async function createReleaseFromInputs(client: Client, command: CreateRel
const repository = new ReleaseRepository(client, command.spaceName);
const response = await repository.create(command);

client.info(`🎉 Release ${response.ReleaseVersion} is ready for deployment!`);
if (command.IgnoreIfAlreadyExists) {
client.info(`🎉 Release ${response.ReleaseVersion} is ready for deployment!`);
} else {
client.info(`🎉 Release ${response.ReleaseVersion} created successfully!`);
}

task.setOutputVariable("release_number", response.ReleaseVersion);

Expand Down

0 comments on commit dffb015

Please sign in to comment.