Skip to content

Commit

Permalink
Version 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MircoBabin committed Feb 16, 2022
1 parent 7abebac commit f92ba96
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 2 deletions.
41 changes: 41 additions & 0 deletions assets/Release-build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@echo off
setlocal
cls

set sz_exe=C:\Program Files\7-Zip\7z.exe
if exist "%sz_exe%" goto build

set sz_exe=C:\Program Files (x86)\7-Zip\7z.exe
if exist "%sz_exe%" goto build

echo 7-Zip 18.06 - 7z.exe not found
pause
goto:eof

:build
echo 7-Zip 18.06: %sz_exe%
echo.
echo Make sure Release and Debug are batch build.
echo.
pause

echo.
echo.

cd /D "%~dp0"

del /q Release_*.zip >nul 2>&1

set files="%~dp0..\bin\Release\GitNoob.Config.dll"
set files=%files% "%~dp0..\bin\Release\GitNoob.exe"
set files=%files% "%~dp0..\bin\Release\GitNoob.exe.config"
set files=%files% "%~dp0..\bin\Release\GitNoob.Git.dll"
set files=%files% "%~dp0..\bin\Release\GitNoob.Gui.Forms.dll"
set files=%files% "%~dp0..\bin\Release\GitNoob.Gui.Forms.dll.config"
set files=%files% "%~dp0..\bin\Release\GitNoob.Gui.Program.dll"
set files=%files% "%~dp0..\bin\Release\GitNoob.ProjectTypes.dll"

"%sz_exe%" a -tzip -mx7 Release_version.zip %files%
"%sz_exe%" a -tzip -mx7 Release_version-debugpack.zip "%~dp0..\bin"

pause
Binary file removed assets/Release_1.1-debugpack.zip
Binary file not shown.
Binary file removed assets/Release_1.1.zip
Binary file not shown.
Binary file added assets/Release_1.2-debugpack.zip
Binary file not shown.
Binary file added assets/Release_1.2.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions src/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0")]

0 comments on commit f92ba96

Please sign in to comment.