File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,17 @@ stages:
43
43
submodules : recursive
44
44
path : s/platform/cisco-8000
45
45
displayName : ' Checkout cisco-8000'
46
+ - script : |
47
+ cisco_ref=(cat platform/checkout/cisco-8000.ini | grep '^ref=' | cut -d= -f2)
48
+ echo "The cisco 8000 release version is $cisco_ref"
49
+ echo "##vso[task.setvariable variable=cisco.ref]$cisco_ref"
50
+ displayName: 'Export cisco release version'
46
51
- task : DownloadGitHubRelease@0
47
52
inputs :
48
53
connection : cisco-connection
49
54
userRepository : Cisco-8000-sonic/platform-cisco-8000
50
55
defaultVersionType : specificTag
51
- version : 202012-v0.2
56
+ version : $(cisco.ref)
52
57
itemPattern : ' artifactory-*.tar.gz'
53
58
downloadPath : ' $(System.ArtifactsDirectory)'
54
59
- script : |
You can’t perform that action at this time.
0 commit comments