Skip to content

Commit

Permalink
Fix # in branch names
Browse files Browse the repository at this point in the history
fixes #164
  • Loading branch information
csweichel committed Sep 8, 2022
1 parent ab175e2 commit d3782cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/werft/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ func (srv *Service) StartJob2(ctx context.Context, req *v1.StartJobRequest2) (re
refname = strings.ReplaceAll(refname, "/", "-")
refname = strings.ReplaceAll(refname, "_", "-")
refname = strings.ReplaceAll(refname, "@", "-")
refname = strings.ReplaceAll(refname, "#", "-")
refname = strings.ToLower(refname)
if refname == "" {
// we did not compute a sensible refname - use moniker
Expand Down

0 comments on commit d3782cd

Please sign in to comment.