Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
6663d026
Commit
6663d026
authored
Nov 15, 2016
by
Felix Lange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: master is unstable
parent
6e4d623d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci.go
build/ci.go
+2
-2
No files found.
build/ci.go
View file @
6663d026
...
@@ -395,7 +395,7 @@ func maybeSkipArchive(env build.Environment) {
...
@@ -395,7 +395,7 @@ func maybeSkipArchive(env build.Environment) {
log
.
Printf
(
"skipping because this is a PR build"
)
log
.
Printf
(
"skipping because this is a PR build"
)
os
.
Exit
(
0
)
os
.
Exit
(
0
)
}
}
if
env
.
Branch
!=
"
develop
"
&&
!
strings
.
HasPrefix
(
env
.
Tag
,
"v1."
)
{
if
env
.
Branch
!=
"
master
"
&&
!
strings
.
HasPrefix
(
env
.
Tag
,
"v1."
)
{
log
.
Printf
(
"skipping because branch %q, tag %q is not on the whitelist"
,
env
.
Branch
,
env
.
Tag
)
log
.
Printf
(
"skipping because branch %q, tag %q is not on the whitelist"
,
env
.
Branch
,
env
.
Tag
)
os
.
Exit
(
0
)
os
.
Exit
(
0
)
}
}
...
@@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
...
@@ -459,7 +459,7 @@ func makeWorkdir(wdflag string) string {
}
}
func
isUnstableBuild
(
env
build
.
Environment
)
bool
{
func
isUnstableBuild
(
env
build
.
Environment
)
bool
{
if
env
.
Branch
!=
"
develop
"
&&
env
.
Tag
!=
""
{
if
env
.
Branch
!=
"
master
"
&&
env
.
Tag
!=
""
{
return
false
return
false
}
}
return
true
return
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment