Skip to content

Commit d3ba734

Browse files
committed
Another go at getting versioning correct
1 parent 0d96dd7 commit d3ba734

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

appveyor.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,8 @@ before_build:
1515
dotnet gitversion /output buildserver
1616
1717
npm install github-release-notes -g
18-
dotnet_csproj:
19-
patch: true
20-
file: '**\*.csproj'
21-
version: '{version}'
22-
package_version: $(GitVersion_NuGetVersion)
23-
assembly_version: $(GitVersion_AssemblySemVer)
24-
file_version: $(GitVersion_AssemblySemFileVer)
25-
informational_version: (GitVersion_InformationalVersion$)
26-
build:
27-
parallel: true
28-
verbosity: minimal
18+
build_script:
19+
- dotnet build **\*.csproj --configuration Release -p:VersionPrefix="$Env:GitVersion_NuGetVersion" --verbosity minimal --version-suffix "$Env:GitVersion_NuGetVersion" -p:FileVersion "$Env:GitVersion_AssemblySemFileVer" -p:InformationalVersion "$Env:GitVersion_InformationalVersion"
2920
after_build:
3021
- ps: >-
3122
dotnet pack $Env:APPVEYOR_PROJECT_NAME/$Env:APPVEYOR_PROJECT_NAME.csproj --configuration Release /p:PackageVersion="$Env:GitVersion_NuGetVersion" --no-build --output "$Env:APPVEYOR_BUILD_FOLDER" --include-symbols

0 commit comments

Comments
 (0)