-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Leverages next-terraform-provider-release version #2149
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tools/jira-release-version/main.go
Outdated
@@ -51,18 +53,59 @@ func getVersion() string { | |||
} | |||
|
|||
func getVersionID(client *jira.Client, versionName string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func getVersionID(client *jira.Client, versionName string) string { | |
func getOrCreateVersionID(client *jira.Client, versionName string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed, thx
projectKey = "CLOUDP" | ||
jiraURL = "https://jira.mongodb.org" | ||
versionPrefix = "terraform-provider-" | ||
versionNameNext = "next-terraform-provider-release" | ||
) | ||
|
||
func main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[q] Curious if we were able to test this in any way, or if we will wait for a proper release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i tested with a fake version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding an example of output in PR description
Description
Leverages next-terraform-provider-release fix version.
All Done (Closed or Resolved) tickets are move from next-terraform-provider-release to the release version during the Release workflow.
Link to any related issue(s): CLOUDP-214955
Type of change:
Required Checklist:
Further comments
Example of output: