diff --git a/release.bat b/release.bat new file mode 100644 index 0000000..8acfe1a --- /dev/null +++ b/release.bat @@ -0,0 +1,4 @@ +@echo off +cd src/Skybrud.Umbraco.Redirects +"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" /t:rebuild /t:pack /p:Configuration=Release /p:PackageOutputPath=../../releases/nuget +cd ../../ \ No newline at end of file diff --git a/skybrud.build.json b/skybrud.build.json new file mode 100644 index 0000000..8a32fae --- /dev/null +++ b/skybrud.build.json @@ -0,0 +1,35 @@ +{ + "tasks": { + "postBuild": [ + { + "alias": "zip", + "destination": "releases/github/{packageName}.v{version}.zip", + "files": [ + { + "source": "src/{packageName}/bin/Release/net472/", + "destination": "bin/", + "patterns": [ + "{packageName}.dll", + "{packageName}.xml", + "Skybrud.Essentials.dll", + "Skybrud.Essentials.xml", + "Skybrud.WebApi.Json.dll", + "Skybrud.WebApi.Json.xml" + ] + }, + { + "source": "src/{packageName}/App_Plugins/Skybrud.Umbraco.Redirects", + "destination": "App_Plugins/Skybrud.Umbraco.Redirects/", + "patterns": [ + "**/*.js", + "**/*.css", + "**/*.html", + "**/*.xml", + "package.manifest" + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/src/Skybrud.Umbraco.Redirects/Skybrud.Umbraco.Redirects.csproj b/src/Skybrud.Umbraco.Redirects/Skybrud.Umbraco.Redirects.csproj index 52c6b8c..22c033f 100644 --- a/src/Skybrud.Umbraco.Redirects/Skybrud.Umbraco.Redirects.csproj +++ b/src/Skybrud.Umbraco.Redirects/Skybrud.Umbraco.Redirects.csproj @@ -15,7 +15,7 @@ Skybrud.Umbraco.Redirects Umbraco, Redirects, 301, Content, Url - https://github.com/skybrud/Skybrud.Umbraco.Redirects/blob/master/LICENSE.md + MIT https://github.com/skybrud/Skybrud.Umbraco.Redirects http://www.skybrud.dk/img/5431sk/icon/favicon.ico git @@ -41,5 +41,9 @@ + + + + \ No newline at end of file diff --git a/src/build/Newtonsoft.Json.dll b/src/build/Newtonsoft.Json.dll index d4c9037..71fd69e 100644 Binary files a/src/build/Newtonsoft.Json.dll and b/src/build/Newtonsoft.Json.dll differ diff --git a/src/build/Skybrud.BuildTools.Tasks.exe b/src/build/Skybrud.BuildTools.Tasks.exe new file mode 100644 index 0000000..7d7d52d Binary files /dev/null and b/src/build/Skybrud.BuildTools.Tasks.exe differ diff --git a/src/build/Skybrud.Essentials.dll b/src/build/Skybrud.Essentials.dll new file mode 100644 index 0000000..1010e1f Binary files /dev/null and b/src/build/Skybrud.Essentials.dll differ diff --git a/src/build/Skybrud.Social.PreBuildTool.exe b/src/build/Skybrud.Social.PreBuildTool.exe deleted file mode 100644 index 1713e9f..0000000 Binary files a/src/build/Skybrud.Social.PreBuildTool.exe and /dev/null differ diff --git a/src/build/UpdateAssemblyInfoJson.exe b/src/build/UpdateAssemblyInfoJson.exe deleted file mode 100644 index 452b0c5..0000000 Binary files a/src/build/UpdateAssemblyInfoJson.exe and /dev/null differ diff --git a/src/build/release.bat b/src/build/release.bat deleted file mode 100644 index 9ab895c..0000000 --- a/src/build/release.bat +++ /dev/null @@ -1,3 +0,0 @@ -@echo off -cd ../Skybrud.Umbraco.Redirects -"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe" /t:pack /p:Configuration=Release /p:PackageOutputPath=../../releases/nuget \ No newline at end of file