Merge pull request #9019 from dcantah/hcsshim-version
Windows: Supply windows shim version via file
This commit is contained in:
		@@ -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:=''}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								script/setup/runhcs-version
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								script/setup/runhcs-version
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
v0.10.0
 | 
			
		||||
		Reference in New Issue
	
	Block a user