good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8ed72a84 authored by Felix Lange's avatar Felix Lange
Browse files

build: simplify unstable build check

ci.go decides whether a build is unstable by looking at the branch and
tag. This causes issues when a GitHub release is created on the master
branch because the build is considered unstable (the CI environment
reports the branch as "master").

Fix this by looking at the tag only. Any tagged build is stable.
parent 04edbb07
Branches
Tags
No related merge requests found
......@@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
}
func isUnstableBuild(env build.Environment) bool {
if env.Branch != "master" && env.Tag != "" {
if env.Tag != "" {
return false
}
return true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment