Skip to content

Commit

Permalink
allow / in distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Apr 11, 2024
1 parent 47eb86b commit c670d33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deb/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ func NewPublishedRepo(storage, prefix, distribution string, architectures []stri
}
}

if strings.Contains(distribution, "/") {
return nil, fmt.Errorf("invalid distribution %s, '/' is not allowed", distribution)
}
//if strings.Contains(distribution, "/") {
//return nil, fmt.Errorf("invalid distribution %s, '/' is not allowed", distribution)
//}

result.Distribution = distribution

Expand Down

0 comments on commit c670d33

Please sign in to comment.