Skip to content

Commit

Permalink
Gfs/fix23version (#620)
Browse files Browse the repository at this point in the history
* Try fix version file

* Update version.json

* Update nuget-build-job.yml
  • Loading branch information
gfs authored Sep 20, 2021
1 parent 47ce48e commit c6d6e05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion Pipelines/templates/nuget-build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ parameters:
- name: artifactName
type: string
default: 'Unsigned_Binaries'
- name: flags
type: string
default: '/p:PublicRelease=true'

jobs:
- job: ${{ parameters.jobName }}
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
inputs:
command: 'custom'
custom: 'pack'
arguments: '${{ parameters.projectPath }} -c ${{ parameters.buildConfiguration }} -o Packages'
arguments: '${{ parameters.projectPath }} -c ${{ parameters.buildConfiguration }} -o Packages ${{ parameters.flags }}'
- task: AntiMalware@3
displayName: Anti-Malware Scan
inputs:
Expand Down
5 changes: 2 additions & 3 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "2.3",
"versionHeightOffset": "256",
"versionHeightOffset": 256,
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
"^refs/heads/release/v\\d+\\.\\d+$"
],
"cloudBuild": {
"buildNumber": {
Expand Down

0 comments on commit c6d6e05

Please sign in to comment.