Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
Published GraphicsMagick.NET 1.3.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jun 21, 2015
1 parent 63b6ee8 commit 3aada94
Show file tree
Hide file tree
Showing 16 changed files with 38 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,6 +9,7 @@ obj
/GraphicsMagick/Source/GraphicsMagick
/ipch
/Publish/Archive
/Publish/NuGet/ApiKey.txt
/Publish/NuGet/*.nupkg
/Publish/Zip
/TestResults
Expand Down
2 changes: 1 addition & 1 deletion GraphicsMagick.NET.AnyCPU/Properties/AssemblyInfo.cs
Expand Up @@ -34,7 +34,7 @@
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.3.21.1")]
[assembly: AssemblyFileVersion("1.3.21.2")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
//=================================================================================================
2 changes: 1 addition & 1 deletion GraphicsMagick.NET.Web/Properties/AssemblyInfo.cs
Expand Up @@ -42,7 +42,7 @@
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("6.0.0.0")]
[assembly: AssemblyFileVersion("1.3.21.1")]
[assembly: AssemblyFileVersion("1.3.21.2")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
//=================================================================================================
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion GraphicsMagick.NET/AssemblyInfo.cpp
Expand Up @@ -52,7 +52,7 @@ using namespace System::Security::Permissions;
[assembly: AssemblyConfiguration("Release")];
[assembly: AssemblyCulture("")];
[assembly: AssemblyVersion("1.0.0.0")];
[assembly: AssemblyFileVersion("1.3.21.1")]
[assembly: AssemblyFileVersion("1.3.21.2")]
[assembly: ComVisible(false)];
[assembly: CLSCompliant(true)];
[assembly: SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified GraphicsMagick.NET/Resources/ReleaseQ8/x64/GraphicsMagick.NET.rc
Binary file not shown.
16 changes: 16 additions & 0 deletions Publish/NuGet/Push.cmd
@@ -0,0 +1,16 @@
@echo off

echo Are you sure?
pause

set /p ApiKey=<ApiKey.txt
if not "%ApiKey%"=="" goto push

echo Unable to find ApiKey.txt
goto done

:push
for /r %%i in (*.nupkg) do ..\..\Tools\Programs\nuget.exe push %%i %ApiKey%

:done
pause
2 changes: 1 addition & 1 deletion Publish/Publish.cmd
@@ -1,4 +1,4 @@
@echo off
call "%vs110comntools%vsvars32.bat"
powershell -ExecutionPolicy Unrestricted ..\Tools\Scripts\Publish.ps1 "1.3.21" "1.3.21.1"
powershell -ExecutionPolicy Unrestricted ..\Tools\Scripts\Publish.ps1 "1.3.21" "1.3.21.2"
pause
11 changes: 11 additions & 0 deletions Tools/Scripts/Publish.ps1
Expand Up @@ -112,6 +112,16 @@ function CheckStrongName($builds)
}
}
#==================================================================================================
function Cleanup()
{
$folder = FullPath "Publish\Pdb"
if (Test-Path $folder)
{
Remove-Item $folder -recurse
}
[void](New-Item -ItemType directory -Path $folder)
}
#==================================================================================================
function CopyPdbFiles($builds)
{
foreach ($build in $builds)
Expand Down Expand Up @@ -313,6 +323,7 @@ function UpdateResourceFiles($builds)
}
#==================================================================================================
CheckArchive
Cleanup
UpdateAssemblyInfo "GraphicsMagick.NET\AssemblyInfo.cpp"
UpdateAssemblyInfo "GraphicsMagick.NET.AnyCPU\Properties\AssemblyInfo.cs"
UpdateAssemblyInfo "GraphicsMagick.NET.Web\Properties\AssemblyInfo.cs"
Expand Down
7 changes: 6 additions & 1 deletion Tools/Scripts/Shared/GzipAssembly.ps1
Expand Up @@ -17,7 +17,12 @@ function GzipAssembly($inFile,$outFile)
$buffer = New-Object byte[]($input.Length)
$byteCount = $input.Read($buffer, 0, $input.Length)
$input.Close()


$folder = (Split-Path $outFile -Parent)
if (!(Test-Path $folder))
{
New-Item -ItemType directory -Path $folder
}
$output = New-Object System.IO.FileStream $outFile, ([IO.FileMode]::Create), ([IO.FileAccess]::Write), ([IO.FileShare]::None)
$gzipStream = New-Object System.IO.Compression.GzipStream $output, ([IO.Compression.CompressionMode]::Compress)

Expand Down

0 comments on commit 3aada94

Please sign in to comment.