Skip to content

Commit

Permalink
fix regexp
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis committed Jul 15, 2024
1 parent ba8ced1 commit c7579b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/upload-archive/upload-archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/sirupsen/logrus"
)

var tagNamePattern = regexp.MustCompile(".*-\\d.\\d.\\d")
var tagNamePattern = regexp.MustCompile(`(?m)(.*)-\d.\d.\d`)

func main() {
tag := flag.String("tag", "", "Name of the tag")
Expand Down

0 comments on commit c7579b8

Please sign in to comment.