Skip to content

Commit

Permalink
Fixed busted zip file preparation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBenz committed Feb 16, 2019
1 parent 6f13618 commit 9f9f400
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions ProgressiveColonizationSystem.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
ProjectSection(SolutionItems) = preProject
buildRelease.bat = buildRelease.bat
ChangeLog.txt = ChangeLog.txt
ksplocations.props = ksplocations.props
ksplocations_example.props = ksplocations_example.props
License.txt = License.txt
ProgressiveColonizationSystem.netkan = ProgressiveColonizationSystem.netkan
ProgressiveColonizationSystem.version = ProgressiveColonizationSystem.version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,11 @@ if $(ConfigurationName) == Debug (
)

if $(ConfigurationName) == Release (
$(ProjectDir)\..\CreateRelease\bin\CreateRelease.exe "$(TargetDir)"
cd $(TargetDir)
del ProgressiveColonizationSystem.zip
"$(SevenZipExe)" a ProgressiveColonizationSystem.zip GameData
echo $(TargetDir)ProgressiveColonizationSystem.zip is ready for release
$(ProjectDir)\..\CreateRelease\bin\$(ConfigurationName)\CreateRelease.exe "$(TargetDir)."
if errorlevel 1 exit /b 1
echo "$(TargetDir)ProgressiveColonizationSystem.zip is ready for release"
)

exit /b 0</PostBuildEvent>
</PropertyGroup>
<PropertyGroup>
Expand Down

0 comments on commit 9f9f400

Please sign in to comment.