From 470633d7e916e7956f4ebd75559f92cf12067cbf Mon Sep 17 00:00:00 2001 From: Ting-Yu Wang Date: Mon, 20 Apr 2020 12:57:18 -0700 Subject: Fix release.sh. git commands need to be run in git repo. PiperOrigin-RevId: 307458938 --- scripts/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index e14ba04a7..ac7eff3ef 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -14,7 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -source $(dirname $0)/common.sh +cd $(dirname $0)/.. +source scripts/common.sh # Tag a release only if provided. if ! [[ -v KOKORO_RELEASE_COMMIT ]]; then -- cgit v1.2.3