Skip to content

Commit

Permalink
Address edgecase of google-beta package containing a hyphen (#8594) (
Browse files Browse the repository at this point in the history
…#15449)

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Aug 9, 2023
1 parent 9239b4f commit aabd7b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/8594.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
2 changes: 1 addition & 1 deletion .teamcity/components/build_config_package.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class packageDetails(packageName: String, displayName: String, providerName: Str
// Replacing chars can be necessary, due to limitations on IDs
// "ID should start with a latin letter and contain only latin letters, digits and underscores (at most 225 characters)."
var pv = this.providerName.replace("-", "").toUpperCase()
var pkg = this.packageName.toUpperCase()
var pkg = this.packageName.replace("-", "").toUpperCase()

return "%s_PACKAGE_%s".format(pv, pkg)
}
Expand Down

0 comments on commit aabd7b3

Please sign in to comment.