Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expand scope of Release configuration #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BeatSaberModdingTools.Tasks/BSMT.RequiredTargets.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<OutputAssemblyName Condition="'$(OutputAssemblyName)' == ''">$(OutputPath)$(AssemblyName)</OutputAssemblyName>
<!--Path to folder to be zipped. Needs to be relative to the project directory to work without changes to the 'BuildForCI' target.-->
<ArtifactDestination Condition="'$(ArtifactDestination)' == ''">$(OutputPath)Artifact</ArtifactDestination>
<ErrorOnMismatchedVersions Condition="'$(ErrorOnMismatchedVersions)' == '' AND '$(Configuration)' == 'Release'">True</ErrorOnMismatchedVersions>
<ErrorOnMismatchedVersions Condition="'$(ErrorOnMismatchedVersions)' == '' AND $(Configuration.Contains('Release'))">True</ErrorOnMismatchedVersions>
<GameDirectory Condition="'$(GameDirectory)' == '' AND '$(BeatSaberDir)' != '' ">$(BeatSaberDir)</GameDirectory>
<GameDirectory Condition="'$(GameDirectory)' == '' AND '$(GameReferences)' != '' ">$(GameReferences)</GameDirectory>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion BeatSaberModdingTools.Tasks/BuildTypes/BSMT.BSIPA.targets
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<Message Text=" ArtifactName= '$(ArtifactName)'" Importance="high" />
</Target>
<!--Creates a BeatMods compliant zip file with the release.-->
<Target Name="BSMT_ZipRelease" AfterTargets="Build" DependsOnTargets="BSMT_AfterBuild;CopyToArtifactDestination" Condition="'$(DisableZipRelease)' != 'True' AND '$(Configuration)' == 'Release'">
<Target Name="BSMT_ZipRelease" AfterTargets="Build" DependsOnTargets="BSMT_AfterBuild;CopyToArtifactDestination" Condition="'$(DisableZipRelease)' != 'True' AND $(Configuration.Contains('Release'))">
<Message Text="Target: BSMT_ZipRelease" Importance="high" />
<PropertyGroup>
<!--Set 'ArtifactName' if it failed before.-->
Expand Down