fixed not being able to resolve homedir key path
This commit is contained in:
parent
c4693c4b14
commit
3bbc65268d
4 changed files with 15 additions and 5 deletions
4
main.go
4
main.go
|
@ -69,7 +69,7 @@ func init() {
|
|||
func printHelp() {
|
||||
fmt.Println("Usage: go run . -p=<path-to-build> -t=<target> [-c|--compress] [-v|--version=<version>] [-component=<component>] [-arch=<architecture>] [-release=<release>] [-platform=<platform>]")
|
||||
flag.PrintDefaults()
|
||||
fmt.Println("Example: go run . --upload -c --upload-path=./mozilla-release/obj-x86_64-pc-linux-gnu/dist/bin -a")
|
||||
fmt.Println("Example: go run . --upload -c -a")
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
@ -277,7 +277,7 @@ func PackageAndUploadProcess(buildDir string) {
|
|||
fmt.Printf("Compression efficiency: %.2f%%\n", efficiency)
|
||||
|
||||
// Display compressed directory path
|
||||
fmt.Printf("Compressed dir: %s", pathToUse)
|
||||
fmt.Printf("Compressed dir: %s\n", pathToUse)
|
||||
|
||||
// If not uploading, we're done
|
||||
if !upload {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue