Skip to content

Commit

Permalink
[semver:patch] ♻️ Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Jun 5, 2021
1 parent fddc2eb commit b04b79d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ steps:
else
git commit -m "$UPDATE_MESSAGE"
if [ "<< parameters.repo_name >>" ]; then
PULL_REQUEST_BODY="For details see: https://github.com/<< parameters.repo_name >>/releases\nPlease execute \`\$ terraform init -upgrade\` and commit.:pray:"
RELEASE_URL="https://github.com/<< parameters.repo_name >>/releases"
else
PULL_REQUEST_BODY="For details see: https://github.com/hashicorp/terraform-provider-<< parameters.provider_name >>/releases\nPlease execute \`\$ terraform init -upgrade\` and commit.:pray:"
RELEASE_URL="https://github.com/hashicorp/terraform-provider-<< parameters.provider_name >>/releases"
fi
PULL_REQUEST_BODY="For details see: $RELEASE_URL\nPlease execute \`\$ terraform init -upgrade\` and commit.:pray:"
if [ -n "<< parameters.assignees >>" ]; then
git push origin HEAD && hub pull-request -m "$UPDATE_MESSAGE" -m "$PULL_REQUEST_BODY" -b << parameters.base_branch >> -a "<< parameters.assignees >>"
else
Expand Down

0 comments on commit b04b79d

Please sign in to comment.