]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dist: Specify a version for the darwin package.
authorEmil Hessman <c.emil.hessman@gmail.com>
Sun, 8 Sep 2013 23:36:39 +0000 (09:36 +1000)
committerAndrew Gerrand <adg@golang.org>
Sun, 8 Sep 2013 23:36:39 +0000 (09:36 +1000)
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13383045

misc/dist/bindist.go

index 5bb3c8be13ce58d2348ddcc637826fd6dc1977d7..ea716ffd6b56a302698208a976d3450ec3686587 100644 (file)
@@ -327,7 +327,7 @@ func (b *Build) Do() error {
                dist := filepath.Join(runtime.GOROOT(), "misc/dist")
                _, err = b.run("", "pkgbuild",
                        "--identifier", "com.googlecode.go",
-                       "--version", "1.0",
+                       "--version", version,
                        "--scripts", filepath.Join(dist, "darwin/scripts"),
                        "--root", work,
                        filepath.Join(pkgdest, "com.googlecode.go.pkg"))