daml/bazel_tools/workspace_status.cmd
2019-04-12 13:25:31 +02:00

8 lines
239 B
Batchfile

:: Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
:: SPDX-License-Identifier: Apache-2.0
@echo off
for /f %%i in ('git rev-parse HEAD') do set RESULT=%%i
echo STABLE_GIT_REVISION %RESULT%