Skip to content

Commit

Permalink
Use build number as version suffix #96
Browse files Browse the repository at this point in the history
  • Loading branch information
martinnormark committed Aug 3, 2016
1 parent 3daad4e commit 1bd723e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions PreMailer.Net/PreMailer.Net.Core.Tests/project.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2704,7 +2704,7 @@
"lib/netstandard1.1/xunit.runner.utility.dotnet.dll": {}
}
},
"PreMailer.Net.Core/1.0.0": {
"PreMailer.Net.Core/1.5.4": {
"type": "project",
"framework": ".NETStandard,Version=v1.4",
"dependencies": {
Expand Down Expand Up @@ -8025,7 +8025,7 @@
"xunit.runner.utility.nuspec"
]
},
"PreMailer.Net.Core/1.0.0": {
"PreMailer.Net.Core/1.5.4": {
"type": "project",
"path": "../PreMailer.Net.Core/project.json",
"msbuildProject": "../PreMailer.Net.Core/PreMailer.Net.Core.xproj"
Expand Down
7 changes: 3 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: 1.0.{build}
os: Visual Studio 2015

configuration: Release
Expand All @@ -10,7 +9,7 @@ before_build:
- cmd: dotnet restore

build_script:
- cmd: dotnet build PreMailer.Net.Core -c Release
- cmd: dotnet build PreMailer.Net.Core -c Release --version-suffix {build}

test: off
test_script:
Expand All @@ -20,8 +19,8 @@ artifacts:
- path: '*.nupkg'
name: PreMailer.nupkg

before_deploy:
- cmd: dotnet pack PreMailer.Net.Core -c Release
after_build:
- cmd: dotnet pack PreMailer.Net.Core -c Release --version-suffix {build}

deploy:
- provider: NuGet
Expand Down

0 comments on commit 1bd723e

Please sign in to comment.