From 3d550ca885311d71f430d8681340db47452d29ff Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:06:09 -0600 Subject: [PATCH 1/6] Visual studio 2017 image --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 0809569b..d4c82bca 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,5 @@ +image: Visual Studio 2017 + #---------------------------------# # restore nuget packages # #---------------------------------# From 39d0e75c0da30ccb42c79881092676f658af0da0 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:13:50 -0600 Subject: [PATCH 2/6] switching to mainline GitVersion mode https://gitversion.readthedocs.io/en/latest/reference/mainline-development/ --- GitVersion.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/GitVersion.yml b/GitVersion.yml index 4b82ee94..c3114888 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,10 +1 @@ -mode: ContinuousDeployment -assembly-versioning-scheme: MajorMinorPatch -continuous-delivery-fallback-tag: '' -branches: - master: - mode: ContinuousDeployment - tag: '' - increment: Patch -ignore: - sha: [] \ No newline at end of file +mode: Mainline \ No newline at end of file From aa9e851dc71100142577b40ca91f1974cee2632a Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:26:13 -0600 Subject: [PATCH 3/6] undo mainline mode --- GitVersion.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/GitVersion.yml b/GitVersion.yml index c3114888..4b82ee94 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1 +1,10 @@ -mode: Mainline \ No newline at end of file +mode: ContinuousDeployment +assembly-versioning-scheme: MajorMinorPatch +continuous-delivery-fallback-tag: '' +branches: + master: + mode: ContinuousDeployment + tag: '' + increment: Patch +ignore: + sha: [] \ No newline at end of file From f13a8dfab6a27a700fb7db3ce42f94d517825f69 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:26:25 -0600 Subject: [PATCH 4/6] echo version --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index d4c82bca..5bd37206 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,9 @@ image: Visual Studio 2017 #---------------------------------# before_build: - nuget restore + - cmd: echo %appveyor_build_version% - ps: gitversion /l console /output buildserver /updateAssemblyInfo + - cmd: echo %appveyor_build_version% #---------------------------------# # build configuration # From 3ecc10e29960eea0e96d5b9838f9e313295508e8 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:53:18 -0600 Subject: [PATCH 5/6] create a specific GitVersion tag for deployment --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 5bd37206..ae726b62 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,6 +8,7 @@ before_build: - cmd: echo %appveyor_build_version% - ps: gitversion /l console /output buildserver /updateAssemblyInfo - cmd: echo %appveyor_build_version% + - cmd: ECHO %GitVersion_MajorMinorPatch% #---------------------------------# # build configuration # @@ -60,6 +61,7 @@ notifications: deploy: - provider: GitHub + tag: %GitVersion_MajorMinorPatch% auth_token: secure: SDw1gs4noXA0eUpBoBcbT2XNYwf0Bg7gHR/TpP2Y/gQS/QYST7toE0oRzoKV/2U6 # encrypted token from GitHub artifact: /.*\.*/ # upload all NuGet packages to release assets From 15f4c8f908c145a4e2bff9a6593c018787fc3c98 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Tue, 2 May 2017 22:53:33 -0600 Subject: [PATCH 6/6] simpler GitVersion.yml --- GitVersion.yml | 5 +---- appveyor.yml | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/GitVersion.yml b/GitVersion.yml index 4b82ee94..742e8f1f 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,10 +1,7 @@ -mode: ContinuousDeployment assembly-versioning-scheme: MajorMinorPatch -continuous-delivery-fallback-tag: '' +mode: ContinuousDeployment branches: master: mode: ContinuousDeployment - tag: '' - increment: Patch ignore: sha: [] \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index ae726b62..3316d604 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,8 @@ image: Visual Studio 2017 +assembly_info: + patch: false + #---------------------------------# # restore nuget packages # #---------------------------------# @@ -19,9 +22,6 @@ platform: Any CPU # build Configuration, i.e. Debug, Release, etc. configuration: Release - -assembly_info: - patch: false build: parallel: true # enable MSBuild parallel builds @@ -61,12 +61,12 @@ notifications: deploy: - provider: GitHub - tag: %GitVersion_MajorMinorPatch% auth_token: secure: SDw1gs4noXA0eUpBoBcbT2XNYwf0Bg7gHR/TpP2Y/gQS/QYST7toE0oRzoKV/2U6 # encrypted token from GitHub artifact: /.*\.*/ # upload all NuGet packages to release assets description: ServiceBus Explorer build %APPVEYOR_BUILD_VERSION%. draft: false prerelease: false + tag: $(GitVersion_MajorMinorPatch) on: branch: master # release from master branch only \ No newline at end of file