diff --git a/Fizzler.Systems.HtmlAgilityPack.nuspec b/Fizzler.Systems.HtmlAgilityPack.nuspec
index b10f6c1..acabfd7 100644
--- a/Fizzler.Systems.HtmlAgilityPack.nuspec
+++ b/Fizzler.Systems.HtmlAgilityPack.nuspec
@@ -2,7 +2,7 @@
Fizzler.Systems.HtmlAgilityPack
- 1.1.0
+ 1.1.0$VersionSuffix$
Fizzler for HTML Agility Pack
Atif Aziz, Colin Ramsay
Atif Aziz
diff --git a/Fizzler.Tools.nuspec b/Fizzler.Tools.nuspec
index 7749357..b1e587b 100644
--- a/Fizzler.Tools.nuspec
+++ b/Fizzler.Tools.nuspec
@@ -2,7 +2,7 @@
Fizzler.Tools
- 1.1.0
+ 1.1.0$VersionSuffix$
Fizzler Tools
Atif Aziz
Atif Aziz
diff --git a/Fizzler.nuspec b/Fizzler.nuspec
index d8581f4..4d3f41a 100644
--- a/Fizzler.nuspec
+++ b/Fizzler.nuspec
@@ -2,7 +2,7 @@
Fizzler
- 1.1.0
+ 1.1.0$VersionSuffix$
Fizzler
Atif Aziz, Colin Ramsay
Atif Aziz
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..92c8d33
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,37 @@
+version: '{build}'
+image: Visual Studio 2017
+branches:
+ except:
+ - /.+[\-.]wip$/
+ - wip
+pull_requests:
+ do_not_increment_build_number: true
+skip_commits:
+ files:
+ - '*.md'
+ - '*.txt'
+ - '.editorconfig'
+build_script:
+- ps: >-
+ $id = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP -replace '([-:]|\.0+Z)', ''
+
+ $id = $id.Substring(0, 13)
+
+ .\pack.cmd ci-$id
+artifacts:
+- path: dist\*.nupkg
+deploy:
+- provider: NuGet
+ server: https://www.myget.org/F/raboof/api/v2/package
+ api_key:
+ secure: fhGwXyO35FSshRzs5GWmF1LJTrd1sIqmS/jNCSfO2LfOciuYAKiXuFMYZFGiTAl+
+ symbol_server: https://www.myget.org/F/raboof/symbols/api/v2/package
+ on:
+ branch: master
+notifications:
+- provider: Email
+ to:
+ - raboof-ci@googlegroups.com
+ on_build_success: true
+ on_build_failure: true
+ on_build_status_changed: false
diff --git a/pack.cmd b/pack.cmd
index 079016c..878a711 100644
--- a/pack.cmd
+++ b/pack.cmd
@@ -9,6 +9,7 @@ goto :EOF
if not exist dist md dist
if not %errorlevel%==0 exit /b %errorlevel%
set nupack=.nuget\NuGet pack -OutputDirectory dist
+if not "%1"=="" set nupack=%nupack% -Properties VersionSuffix=-%1
call build /v:m ^
&& %nupack% -Symbols Fizzler.nuspec ^
&& %nupack% -Symbols Fizzler.Systems.HtmlAgilityPack.nuspec ^