Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeavon committed Apr 10, 2018
2 parents 35f5cf6 + f15ee98 commit 9d8d7fd
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#VS 2015 hidden folder
.vs/*
build/tools/vswhere.2.0.2
build/tools/vswhere.2.3.2
build/tools/vswhere.exe

# User-specific files
Expand Down
25 changes: 23 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.0.1.{build}
version: 1.1.0.{build}

os: Visual Studio 2017

Expand Down Expand Up @@ -48,4 +48,25 @@ deploy:
secure: SASQGWG/4zNns7bwSSsJ5RPvKcKfJsBeEPuw69wsVPA3PO739QmzVtc5VwQwgvbr
artifact: /.*\.nupkg/
on:
branch: develop
branch: develop

# GitHub Deployment for releases
- provider: GitHub
auth_token:
secure: c0LwOGqoFZIieyy8CHrUtYQOD0HL0rG5tV2DS+8FHv34BKs/LSGGtmWWep5O7GbV
artifact: /.*\.zip/ # upload all Zip packages to release assets
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: true # deploy on tag push only

# NuGet Deployment for releases
- provider: NuGet
server:
api_key:
secure: adk3pI9HCByZg2VRxplX9UR6qHf97bA3as6dusxLswCKI8BQQE8DO5a0frLrI+EO
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true
3 changes: 2 additions & 1 deletion build-appveyor.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ ECHO APPVEYOR_REPO_BRANCH: %APPVEYOR_REPO_BRANCH%
ECHO APPVEYOR_REPO_TAG: %APPVEYOR_REPO_TAG%
ECHO APPVEYOR_BUILD_NUMBER : %APPVEYOR_BUILD_NUMBER%
ECHO APPVEYOR_BUILD_VERSION : %APPVEYOR_BUILD_VERSION%
ECHO CONFIGURATION : %CONFIGURATION%

CALL NuGet restore Our.Umbraco.HCSlackNM.sln

Expand All @@ -14,7 +15,7 @@ IF NOT EXIST "%toolsFolder%" (

IF NOT EXIST "%toolsFolder%vswhere.exe" (
ECHO vswhere not found - fetching now
nuget install vswhere -Version 2.2.11 -Source nuget.org -OutputDirectory tools
nuget install vswhere -Version 2.3.2 -Source nuget.org -OutputDirectory tools
)

FOR /f "delims=" %%A in ('dir "%toolsFolder%vswhere.*" /b') DO SET "vswhereExePath=%toolsFolder%%%A\"
Expand Down
4 changes: 3 additions & 1 deletion build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ if "%PACKAGE_VERISON%" == "" (
SET PACKAGE_VERISON=0.1.0
)

SET APPVEYOR_BUILD_VERSION=%PACKAGE_VERISON%.%APPVEYOR_BUILD_NUMBER%
SET mssemver=%PACKAGE_VERISON%.%APPVEYOR_BUILD_NUMBER%

SET CONFIGURATION=Debug

build-appveyor.cmd

Expand Down
10 changes: 5 additions & 5 deletions build/HCSlackNM.proj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<!-- APPVEYOR PROPERTIES -->
<PropertyGroup>
<FileVersion>$(APPVEYOR_BUILD_VERSION)</FileVersion>
<FileVersion>$(mssemver)</FileVersion>
</PropertyGroup>

<!-- PATHS -->
Expand Down Expand Up @@ -83,7 +83,7 @@

<!-- Umbraco specific -->
<PackageFile Include="$(MSBuildProjectDirectory)\package.xml" />
<UmbracoOtherBinFiles Include="$(InstallerProjectDir)\bin\$(BuildConfig)\Our.Umbraco.HealthCheckSlackNotificationMethod.Installer.dll;$(InstallerProjectDir)\bin\$(BuildConfig)\Microsoft.Web.XmlTransform.dll;$(CoreProjectDir)\bin\$(BuildConfig)\Slack.Webhooks.dll;$(CoreProjectDir)\bin\$(BuildConfig)\RestSharp.dll;$(CoreProjectDir)\bin\$(BuildConfig)\ServiceStack.Text.dll" />
<UmbracoOtherBinFiles Include="$(InstallerProjectDir)\bin\$(BuildConfig)\Our.Umbraco.HealthCheckSlackNotificationMethod.Installer.dll;$(InstallerProjectDir)\bin\$(BuildConfig)\Microsoft.Web.XmlTransform.dll;$(CoreProjectDir)\bin\$(BuildConfig)\Slack.Webhooks.dll;$(CoreProjectDir)\bin\$(BuildConfig)\Newtonsoft.Json.dll" />
<UmbracoInstallerFiles Include="$(InstallerProjectDir)\Configurator\**\*.*"/>
<UmbracoInstallerLogo Include="$(MSBuildProjectDirectory)\assets\icon\slack-health-check-notification-32.png"/>

Expand Down Expand Up @@ -122,7 +122,7 @@
WorkingDirectory="$(BuildUmbDir)"
MinimumRequiredUmbracoVersion="$(MinUmbracoVersion)"
PackageName="$(PackageName)"
PackageVersion="$(mssemver)"
PackageVersion="$(FileVersion)"
AuthorName="$(AuthorName)"
AuthorUrl="$(AuthorUrl)"
Readme="$(Readme)"
Expand All @@ -144,7 +144,7 @@
Title="$(PackageName)"
Description="$(Description)"
Summary="$(Readme)"
Version="$(mssemver)"
Version="$(FileVersion)"
MinimumRequiredUmbracoVersion ="$(MinUmbracoVersion)"
Authors="$(AuthorName)"
Owners="$(Owners)"
Expand Down Expand Up @@ -173,7 +173,7 @@
<MSBuild.NuGet.Tasks.Pack NuGetExePath="NuGet.exe"
ManifestFile="$(BuildNuGetDir)\package.nuspec"
BasePath="$(BuildNuGetDir)"
Version="$(mssemver)"
Version="$(FileVersion)"
OutputDirectory="$(ArtifactsDir)"
Symbols="true" />

Expand Down
2 changes: 1 addition & 1 deletion build/package.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tags></tags>
<dependencies>
<dependency id="UmbracoCms.Core" version="0.0.0" />
<dependency id="Slack.Webhooks" version="0.1.8" />
<dependency id="Slack.Webhooks" version="1.0.3" />
</dependencies>
</metadata>
</package>
12 changes: 3 additions & 9 deletions src/Our.Umbraco.HCSlackNM/Our.Umbraco.HCSlackNM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,16 @@
<HintPath>..\..\packages\MySql.Data.6.9.9\lib\net45\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=104.4.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\RestSharp.104.4.0\lib\net4\RestSharp.dll</HintPath>
</Reference>
<Reference Include="Semver, Version=1.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\semver.1.1.2\lib\net45\Semver.dll</HintPath>
</Reference>
<Reference Include="ServiceStack.Text, Version=3.9.71.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\ServiceStack.Text.3.9.71\lib\net35\ServiceStack.Text.dll</HintPath>
</Reference>
<Reference Include="Slack.Webhooks, Version=0.1.8.1091, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Slack.Webhooks.0.1.8\lib\net40\Slack.Webhooks.dll</HintPath>
<Reference Include="Slack.Webhooks, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Slack.Webhooks.1.0.3\lib\net45\Slack.Webhooks.dll</HintPath>
</Reference>
<Reference Include="SQLCE4Umbraco, Version=1.0.6470.38241, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\UmbracoCms.Core.7.7.0\lib\net45\SQLCE4Umbraco.dll</HintPath>
Expand Down
6 changes: 2 additions & 4 deletions src/Our.Umbraco.HCSlackNM/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="MiniProfiler" version="2.1.0" targetFramework="net45" />
<package id="MySql.Data" version="6.9.9" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="RestSharp" version="104.4.0" targetFramework="net45" />
<package id="semver" version="1.1.2" targetFramework="net45" />
<package id="ServiceStack.Text" version="3.9.71" targetFramework="net45" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net45" />
<package id="Slack.Webhooks" version="0.1.8" targetFramework="net45" />
<package id="Slack.Webhooks" version="1.0.3" targetFramework="net45" />
<package id="System.Threading.Tasks.Dataflow" version="4.7.0" targetFramework="net45" />
<package id="UmbracoCms.Core" version="7.7.0" targetFramework="net45" />
<package id="xmlrpcnet" version="2.5.0" targetFramework="net45" />
Expand Down
12 changes: 3 additions & 9 deletions src/TestSite/TestSite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -150,22 +150,16 @@
<HintPath>..\..\packages\MySql.Data.6.9.9\lib\net45\MySql.Data.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
<HintPath>..\..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=104.4.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\RestSharp.104.4.0\lib\net4\RestSharp.dll</HintPath>
</Reference>
<Reference Include="Semver, Version=1.1.2.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\semver.1.1.2\lib\net45\Semver.dll</HintPath>
</Reference>
<Reference Include="ServiceStack.Text, Version=3.9.71.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\ServiceStack.Text.3.9.71\lib\net35\ServiceStack.Text.dll</HintPath>
</Reference>
<Reference Include="Slack.Webhooks, Version=0.1.8.1091, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Slack.Webhooks.0.1.8\lib\net40\Slack.Webhooks.dll</HintPath>
<Reference Include="Slack.Webhooks, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Slack.Webhooks.1.0.3\lib\net45\Slack.Webhooks.dll</HintPath>
</Reference>
<Reference Include="SQLCE4Umbraco, Version=1.0.6470.38241, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\UmbracoCms.Core.7.7.0\lib\net45\SQLCE4Umbraco.dll</HintPath>
Expand Down
6 changes: 2 additions & 4 deletions src/TestSite/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" />
<package id="MiniProfiler" version="2.1.0" targetFramework="net45" />
<package id="MySql.Data" version="6.9.9" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="RestSharp" version="104.4.0" targetFramework="net45" />
<package id="semver" version="1.1.2" targetFramework="net45" />
<package id="ServiceStack.Text" version="3.9.71" targetFramework="net45" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net45" />
<package id="Slack.Webhooks" version="0.1.8" targetFramework="net45" />
<package id="Slack.Webhooks" version="1.0.3" targetFramework="net45" />
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net45" />
<package id="System.Reflection.Metadata" version="1.0.21" targetFramework="net45" />
<package id="System.Threading.Tasks.Dataflow" version="4.7.0" targetFramework="net45" />
Expand Down

0 comments on commit 9d8d7fd

Please sign in to comment.