Fix release.sh. git commands need to be run in git repo.

PiperOrigin-RevId: 307458938
This commit is contained in:
Ting-Yu Wang
2020-04-20 12:58:32 -07:00
committed by gVisor bot
parent 763d16f912
commit 470633d7e9
+2 -1
View File
@@ -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