Skip to content

Commit

Permalink
"i" prefix for builds and ignore torrent files in source archive
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Oct 3, 2017
1 parent 64541b5 commit 3dad219
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions setup/scripts/main.iss
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,18 @@

; Output files names
#if Str(RELEASE_BUILD) == "1" && ConfigurationName == "Release"
#define output_name internal_name + "_" + version + "_" + PlatformName
#define symbols_name internal_name + "_" + version + "_" + PlatformName + "_Symbols.7z"
#define source_name internal_name + "_" + version + "_Source.7z"
#define output_name "i" + internal_name + "_" + version + "_" + PlatformName
#define symbols_name "i" + internal_name + "_" + version + "_" + PlatformName + "_Symbols.7z"
#define source_name "i" + internal_name + "_" + version + "_Source.7z"
#else
#ifdef REVISION
#define output_name internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + REVISION + "_" + date
#define symbols_name internal_name + "_" + PlatformName + "_" + ConfigurationName + "_" + REVISION + "_" + date + "_Symbols.7z"
#define source_name internal_name + "_" + REVISION + "_Source.7z"
#define output_name "i" + internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + REVISION + "_" + date
#define symbols_name "i" + internal_name + "_" + PlatformName + "_" + ConfigurationName + "_" + REVISION + "_" + date + "_Symbols.7z"
#define source_name "i" + internal_name + "_" + REVISION + "_Source.7z"
#else
#define output_name internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + date
#define symbols_name internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + date + "_Symbols.7z"
#define source_name internal_name + "_" + version + "_Source.7z"
#define output_name "i" + internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + date
#define symbols_name "i" + internal_name + "_" + version + "_" + PlatformName + "_" + ConfigurationName + "_" + date + "_Symbols.7z"
#define source_name "i" + internal_name + "_" + version + "_Source.7z"
#endif
#endif

Expand Down Expand Up @@ -1198,4 +1198,4 @@ end;
#expr SaveToFile(SourcePath + "..\builds\Preprocessed.iss")
#expr Exec( Zip, "a -y -mx=9 builds\" + symbols_name + " ""..\" + Compiler + "\" + PlatformName + "\" + ConfigurationName + "\*.pdb""", ".." )
#expr Exec( Zip, "a -y -mx=9 -r -x!.vs -x!.svn -x!.git -x!setup\builds\*.exe -x!setup\builds\*.txt -x!setup\builds\*.iss -x!Win32 -x!x64 -x!.vs -x!ipch -x!*.7z -x!*.log -x!*.bak -x!*.VC.db -x!*.VC.opendb -x!*.tmp -x!*.sdf -x!*.suo -x!*.ncb -x!*.user -x!*.opensdf builds\" + source_name + " ..", ".." )
#expr Exec( Zip, "a -y -mx=9 -r -x!.vs -x!.svn -x!.git -x!setup\builds\*.exe -x!setup\builds\*.txt -x!setup\builds\*.iss -x!Win32 -x!x64 -x!.vs -x!ipch -x!*.torrent -x!*.7z -x!*.log -x!*.bak -x!*.VC.db -x!*.VC.opendb -x!*.tmp -x!*.sdf -x!*.suo -x!*.ncb -x!*.user -x!*.opensdf builds\" + source_name + " ..", ".." )

0 comments on commit 3dad219

Please sign in to comment.