mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
build: add -unstable to archive names
This commit is contained in:
parent
810b866146
commit
b9b037b138
1 changed files with 3 additions and 0 deletions
|
|
@ -319,6 +319,9 @@ func doArchive(cmdline []string) {
|
||||||
func archiveBasename(arch string, env build.Environment) string {
|
func archiveBasename(arch string, env build.Environment) string {
|
||||||
platform := runtime.GOOS + "-" + arch
|
platform := runtime.GOOS + "-" + arch
|
||||||
archive := platform + "-" + build.VERSION()
|
archive := platform + "-" + build.VERSION()
|
||||||
|
if isUnstableBuild(env) {
|
||||||
|
archive += "-unstable"
|
||||||
|
}
|
||||||
if env.Commit != "" {
|
if env.Commit != "" {
|
||||||
archive += "-" + env.Commit[:8]
|
archive += "-" + env.Commit[:8]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue