Skip to content

Commit 54cb5cd

Browse files
committed
Work CI-CD
- Fix github release task. Now creates on main branch and uses nuget version. ***NO_CI***
1 parent 2f5963f commit 54cb5cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,16 +254,16 @@ jobs:
254254
and(
255255
succeeded(),
256256
eq(variables['System.PullRequest.PullRequestId'], ''),
257-
startsWith(variables['Build.SourceBranch'], 'refs/heads/develop'),
257+
startsWith(variables['Build.SourceBranch'], 'refs/heads/main'),
258258
eq(variables['UPDATE_DEPENDENTS'], 'false')
259259
)
260260
displayName: Create/Update GitHub release
261261
inputs:
262262
action: edit
263263
gitHubConnection: 'github.com_nano-$(System.TeamProject)'
264264
tagSource: userSpecifiedTag
265-
tag: v$(GitBuildVersionSimple)
266-
title: '.NET nanoFramework Unit Test Framework v$(GitBuildVersionSimple)'
265+
tag: v$(NBGV_NuGetPackageVersion)
266+
title: '.NET nanoFramework Unit Test Framework v$(NBGV_NuGetPackageVersion)'
267267
releaseNotesSource: inline
268268
releaseNotesInline: ''
269269
assets: '$(Build.ArtifactStagingDirectory)/*.nupkg'

0 commit comments

Comments
 (0)