This was still in pkg and wasn't accessible from the scripts location. This code should be in the go/common location of sdk so that it can be accessed from within our build scripts Without this change, we were not able to get access to the Version number for Python and none of our Python builds have been publishing binaries
7 lines
237 B
Bash
Executable file
7 lines
237 B
Bash
Executable file
#!/bin/bash
|
|
set -o nounset -o errexit -o pipefail
|
|
|
|
SCRIPT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
NPM_VERSION="$($SCRIPT_ROOT/get-version "$@")"
|
|
|
|
GO111MODULE=on go run "${SCRIPT_ROOT}/get-py-version.go" "${NPM_VERSION}"
|