Skip to content

Commit 72af1ed

Browse files
Use cleaner SourceBranchName
1 parent 58b3a15 commit 72af1ed

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

azure-pipelines/build-and-publish.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ variables:
1616
- name: buildConfiguration
1717
value: Release
1818
- name: releaseTag
19-
value: $[replace(variables['Build.SourceBranch'], 'refs/tags/', '')]
19+
value: $(Build.SourceBranchName)
2020

2121
stages:
2222
- stage: BuildAndPublish
@@ -35,24 +35,11 @@ stages:
3535
packageType: 'sdk'
3636
version: '9.x'
3737

38-
# - task: GitVersion@5
39-
# inputs:
40-
# versionSpec: '5.x'
41-
# name: gitVersion
42-
4338
- task: DownloadSecureFile@1
4439
name: cert
4540
inputs:
4641
secureFile: 'code-signing-certificate-2023-2026.pfx'
4742

48-
# - task: DotNetCoreCLI@2
49-
# displayName: 'Build Project'
50-
# inputs:
51-
# command: 'build'
52-
# projects: 'Infragistics.QueryBuilder.Executor.csproj'
53-
# arguments: '-c $(buildConfiguration) /p:Version=$(GitVersion.NuGetVersionV2)'
54-
# workingDirectory: '$(Build.SourcesDirectory)'
55-
5643
- task: DotNetCoreCLI@2
5744
displayName: 'Build Project'
5845
inputs:

0 commit comments

Comments
 (0)