mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 14:46:42 +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 {
|
||||
platform := runtime.GOOS + "-" + arch
|
||||
archive := platform + "-" + build.VERSION()
|
||||
if isUnstableBuild(env) {
|
||||
archive += "-unstable"
|
||||
}
|
||||
if env.Commit != "" {
|
||||
archive += "-" + env.Commit[:8]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue