Skip to content

Commit

Permalink
Merge pull request #3 from TimeWarpEngineering/Cramer/2024-05-19/Build
Browse files Browse the repository at this point in the history
Fix case on directories to PascalCase
  • Loading branch information
StevenTCramer authored May 18, 2024
2 parents 64d1890 + 65230b8 commit a0deb9e
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 51 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
matrix:
project:
- name: TimeWarp.OptionsValidation
path: source/TimeWarp.OptionsValidation/
testPath: tests/TimeWarp.OptionsValidation.Tests/
path: Source/TimeWarp.OptionsValidation/
testPath: Tests/TimeWarp.OptionsValidation.Tests/

steps:
- name: Print Job Info
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:

- name: Build TimeWarp.OptionsValidation
run: |
cd source/TimeWarp.OptionsValidation/
cd Source/TimeWarp.OptionsValidation/
dotnet build --configuration Debug
- name: Publish TimeWarp.OptionsValidation
run: |
cd source/TimeWarp.OptionsValidation/bin/Packages
cd Source/TimeWarp.OptionsValidation/bin/Packages
dotnet nuget push *.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.PUBLISH_TO_NUGET_ORG }}
- name: Verify Directory.Build.props
Expand All @@ -57,14 +57,14 @@ jobs:
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
$version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion>(.*?)</PackageVersion>').Matches.Groups[1].Value
git tag -a "$version" -m "Release $version"
git push origin "$version"
- name: Check if version is not a pre-release
id: check_pre_release
run: |
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
$version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion>(.*?)</PackageVersion>').Matches.Groups[1].Value
$isPreRelease = $version -match '-(alpha|beta)'
echo "IsPreRelease=$isPreRelease"
# Setting output that indicates whether it's a pre-release version
Expand Down
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\Logo.png" Pack="true" PackagePath="\"/>
<None Include="..\..\Assets\Logo.png" Pack="true" PackagePath="\"/>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
<None Include="..\..\LICENSE" Pack="true" PackagePath="\"/>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\source\TimeWarp.OptionsValidation\TimeWarp.OptionsValidation.csproj" />
<ProjectReference Include="..\..\Source\TimeWarp.OptionsValidation\TimeWarp.OptionsValidation.csproj" />
</ItemGroup>

</Project>
86 changes: 43 additions & 43 deletions timewarp-options-validation.sln
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{59C752B9-F1AF-478D-BACC-38074CB5E272}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
CodeMaid.config = CodeMaid.config
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
LICENSE = LICENSE
NuGet.config = NuGet.config
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeWarp.OptionsValidation.Tests", "tests\TimeWarp.OptionsValidation.Tests\TimeWarp.OptionsValidation.Tests.csproj", "{A353C15D-D878-43E7-B567-AAE845FC41BA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeWarp.OptionsValidation", "source\TimeWarp.OptionsValidation\TimeWarp.OptionsValidation.csproj", "{CAC853CD-7002-4D2F-B53E-112653F779D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Release|Any CPU.Build.0 = Release|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {19789E18-C00D-400F-A284-2B9452DB9DFF}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{59C752B9-F1AF-478D-BACC-38074CB5E272}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
CodeMaid.config = CodeMaid.config
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
LICENSE = LICENSE
NuGet.config = NuGet.config
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeWarp.OptionsValidation.Tests", "Tests\TimeWarp.OptionsValidation.Tests\TimeWarp.OptionsValidation.Tests.csproj", "{A353C15D-D878-43E7-B567-AAE845FC41BA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TimeWarp.OptionsValidation", "Source\TimeWarp.OptionsValidation\TimeWarp.OptionsValidation.csproj", "{CAC853CD-7002-4D2F-B53E-112653F779D5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A353C15D-D878-43E7-B567-AAE845FC41BA}.Release|Any CPU.Build.0 = Release|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CAC853CD-7002-4D2F-B53E-112653F779D5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {19789E18-C00D-400F-A284-2B9452DB9DFF}
EndGlobalSection
EndGlobal

0 comments on commit a0deb9e

Please sign in to comment.