Merge pull request #9019 from dcantah/hcsshim-version

Windows: Supply windows shim version via file
This commit is contained in:
Samuel Karp 2023-08-28 23:48:32 -07:00 committed by GitHub
commit cb532a87ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
: ${RUNHCS_VERSION:="$(grep 'Microsoft/hcsshim ' go.mod | awk '{print $2}')"}
scripts_path="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
: ${RUNHCS_VERSION:="$(cat $scripts_path/runhcs-version)"}
: ${RUNHCS_REPO:="https://github.com/Microsoft/hcsshim.git"}
: ${HCSSHIM_SRC:=''}
: ${DESTDIR:=''}

View File

@ -0,0 +1 @@
v0.10.0