Skip to content

Commit c6dee33

Browse files
committed
Work CI-CD
- CLR version is now passed to CLI job so there is a version numbering consistency between the DLL published to CloudSmith repo and the one distributed with the CLR nupkg. ***NO_CI***
1 parent 8253f74 commit c6dee33

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

azure-pipelines.yml

+11
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,14 @@ jobs:
856856
parameters:
857857
repoDirectory: '$(Build.SourcesDirectory)/nf-interpreter'
858858

859+
- task: PowerShell@2
860+
displayName: Store CLR DLL revision
861+
name: SetRevision
862+
inputs:
863+
targetType: "inline"
864+
script: |
865+
Write-Host "$("##vso[task.setvariable variable=CLR_REVISION;isOutput=true]")$(REVISION)"
866+
859867
- task: PowerShell@2
860868
displayName: Store package version
861869
inputs:
@@ -1064,6 +1072,7 @@ jobs:
10641072
dependsOn:
10651073
- Check_Build_Options
10661074
- Check_Code_Style
1075+
- Build_WIN32_nanoCLR
10671076

10681077
pool:
10691078
vmImage: "windows-latest"
@@ -1074,6 +1083,8 @@ jobs:
10741083
value: true
10751084
- name: LITTLEFS_PATH
10761085
value: "D:/a/1/s/littlefs"
1086+
- name: REVISION
1087+
value: $[dependencies.Build_WIN32_nanoCLR.outputs['SetRevision.CLR_REVISION']]
10771088

10781089
steps:
10791090
- checkout: self

0 commit comments

Comments
 (0)