Skip to content

Commit

Permalink
Bump version and set post-build script for generating release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwindalmir committed Apr 24, 2020
1 parent b227e9c commit 1b17251
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
9 changes: 8 additions & 1 deletion MEWorkshopTool/MEWorkshopTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\.wtignore">
<Link>.wtignore</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="App.config" />
<None Include="MEWT.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -109,11 +113,14 @@
</ItemGroup>
<Import Project="..\WorkshopToolCommon\WorkshopToolCommon.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -Command "&amp; {Compress-Archive -Force -Path $(TargetDir)$(TargetName).exe, $(TargetDir)$(TargetName).exe.config, $(TargetDir)CommandLine.dll, $(TargetDir)MEWT.config, $(TargetDir).wtignore -DestinationPath $(TargetDir)$(TargetName)-latest.zip}"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ If desired, you can also automatically extract the mods to your local *%appdata%
They will be extracted to their appropriate directory in the format: *[\_SEWT\_] &lt;Mod Title&gt; (&lt;WorkshopId&gt;)*

## Other Operations
### New in 0.7.5:
Support for .gitignore style ignore list (but simpler). This file is .wtignore, and can be placed either in your mod directory, or in the parent Mods\ directory, ie. *%appdata%\SpaceEngineers\Mods*.
An example file is included with the release zip, just copy it to one of the directories above and edit to taste. Further documentation is in the file itself.

### New in 0.7.4:
Mod.io support, for uploading or downloading mods used by the XBox version.

Expand Down
7 changes: 7 additions & 0 deletions SEWorkshopTool/SEWorkshopTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@
<Compile Include="SpaceGame.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\.wtignore">
<Link>.wtignore</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
Expand All @@ -131,6 +135,9 @@
</ItemGroup>
<Import Project="..\WorkshopToolCommon\WorkshopToolCommon.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -Command "&amp; {Compress-Archive -Force -Path $(TargetDir)$(TargetName).exe, $(TargetDir)$(TargetName).exe.config, $(TargetDir)CommandLine.dll, $(TargetDir).wtignore -DestinationPath $(TargetDir)$(TargetName)-latest.zip}"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
2 changes: 1 addition & 1 deletion WorkshopToolCommon/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public static class Constants
{
public const string Version = "0.7.4.*";
public const string Version = "0.7.5.*";
#if SE
public const string SEWT_Prefix = "[_SEWT_]";
#else
Expand Down

0 comments on commit 1b17251

Please sign in to comment.