summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTing-Yu Wang <anivia@google.com>2020-04-20 12:57:18 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-20 12:58:32 -0700
commit470633d7e916e7956f4ebd75559f92cf12067cbf (patch)
tree378398578870390b4c9ecbb956d6977a656d139c
parent763d16f912aba6216937f88b0376b8b1dafbd59c (diff)
Fix release.sh. git commands need to be run in git repo.
PiperOrigin-RevId: 307458938
-rwxr-xr-xscripts/release.sh3
1 files changed, 2 insertions, 1 deletions
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