Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 6d60f02

Browse files
PureKromeRPM1984
authored andcommitted
📦 Fix AppVeyor versioning for NuGet package. (#11)
1 parent 4276b52 commit 6d60f02

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ os: Visual Studio 2017
55
pull_requests:
66
do_not_increment_build_number: true
77

8-
environment:
9-
# Set the DOTNET_SKIP_FIRST_TIME_EXPERIENCE environment variable to stop wasting time caching packages
10-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
11-
# Disable sending usage data to Microsoft
12-
DOTNET_CLI_TELEMETRY_OPTOUT: true
13-
148
# Override the 'version' if this is a GH-tag-commit -or- this is a custom branch (i.e not 'master').
159
init:
1610
- ps: |
@@ -29,7 +23,7 @@ before_build:
2923
- cmd: dotnet --info
3024

3125
build_script:
32-
- ps: nuget pack src\\Homely.AspNetCore.WebApi.Template.nuspec
26+
- ps: nuget pack src\\Homely.AspNetCore.WebApi.Template.nuspec -version $env:APPVEYOR_BUILD_VERSION
3327

3428
test: off
3529

@@ -46,6 +40,7 @@ deploy:
4640
secure: Hjh+3kM8vuQOP1NCxEMJA85F4ieaRNNWxGo+I4dxxYAZdjaHLy7tVmxw7lLmqDke
4741
artifact: homely-nugets
4842
on:
43+
branch: master
4944
appveyor_repo_tag: false
5045
- provider: NuGet
5146
name: production

0 commit comments

Comments
 (0)