1. Christian Specht
  2. Bitbucket Backup

Commits

Christian Specht  committed af37604

simplify version changes (now only one file needs to be edited)

  • Participants
  • Parent commits 6009a17
  • Branches default

Comments (0)

Files changed (4)

File build.bat

View file
  • Ignore whitespace
 @echo off
 
-set VersionNumber=1.2
+rem load version info (see version_number.bat for more info!)
+call wix\version_number.bat
 
 rem path to msbuild.exe
 path=%path%;%windir%\Microsoft.net\Framework\v4.0.30319

File wix/bitbucket-backup.wxs

View file
  • Ignore whitespace
 <?xml version='1.0'?>
 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
 
-<?define ProductId = {2A579449-33D6-4962-B020-444684ECE30F} ?>
+<?define ProductId =  $(env.ProductId) ?>
 <?define UpgradeCode = {59B6F924-ECF4-40BD-A132-537FC1CC0695} ?>
 
 <?define ProductName = Bitbucket Backup ?>

File wix/readme.txt

  • Ignore whitespace
-How to release a new version
-####################################################################################
-
-1. Increase the version number in build.bat in the main folder
-(this version number is used for the setup AND the actual application)
-
-2. Find this line right at the beginning of the bitbucket-backup.wxs (in this folder) and replace the GUID by a new one:
-?define ProductId = {96C0B39F-9AC8-49D3-AB4E-18D7E88F9E3C} ?>

File wix/version_number.bat

View file
  • Ignore whitespace
+@echo off
+rem Before releasing a new version, you must change BOTH values in this file as described below.
+
+
+rem Version Number:
+rem This number is used for both the setup AND the actual application. Just increase it.
+set VersionNumber=1.2
+
+rem ProductId:
+rem Replace the GUID by a new one (important: with capital letters and curly braces!)
+set ProductId={2A579449-33D6-4962-B020-444684ECE30F}