Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Jan 4, 2024
1 parent d109bff commit 32cca86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Expand Up @@ -272,7 +272,7 @@ func main() {

initTargets()

if !buildpkg.AllowedVersionExp.MatchString(version) {
if version != "unknown-dev" && !buildpkg.AllowedVersionExp.MatchString(version) {
// app with unallowed versions shouldn't be built because it won't run
log.Fatalf("Invalid version string %q;\n\tdoes not match regexp %v", version, buildpkg.AllowedVersionExp)
}
Expand Down

0 comments on commit 32cca86

Please sign in to comment.