Skip to content

Commit

Permalink
Merge pull request #540 from paketo-buildpacks/graal-filter
Browse files Browse the repository at this point in the history
Update GraalVM action to handle new Graal CE build version
  • Loading branch information
Daniel Mikusa authored Feb 7, 2022
2 parents 2dd8121 + 6d1fac8 commit cc3b02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/graalvm-dependency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func main() {
//
// This adjusts the update job to set the PURL & CPE in this way instead
// of using the standard version format
re = regexp.MustCompile(`\/vm-([\d]+\.[\d]+\.[\d]+)\/`)
re = regexp.MustCompile(`\/vm-([\d]+\.[\d]+\.[\d]+\.?[\d]?)\/`)
matches := re.FindStringSubmatch(url)
if matches == nil || len(matches) != 2 {
panic(fmt.Errorf("unable to parse NIK version: %s", matches))
Expand Down

0 comments on commit cc3b02a

Please sign in to comment.