Skip to content

Commit a0deb9e

Browse files
Merge pull request #3 from TimeWarpEngineering/Cramer/2024-05-19/Build
Fix case on directories to PascalCase
2 parents 64d1890 + 65230b8 commit a0deb9e

15 files changed

Lines changed: 51 additions & 51 deletions

.github/workflows/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
matrix:
1818
project:
1919
- name: TimeWarp.OptionsValidation
20-
path: source/TimeWarp.OptionsValidation/
21-
testPath: tests/TimeWarp.OptionsValidation.Tests/
20+
path: Source/TimeWarp.OptionsValidation/
21+
testPath: Tests/TimeWarp.OptionsValidation.Tests/
2222

2323
steps:
2424
- name: Print Job Info

.github/workflows/release-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737

3838
- name: Build TimeWarp.OptionsValidation
3939
run: |
40-
cd source/TimeWarp.OptionsValidation/
40+
cd Source/TimeWarp.OptionsValidation/
4141
dotnet build --configuration Debug
4242
4343
- name: Publish TimeWarp.OptionsValidation
4444
run: |
45-
cd source/TimeWarp.OptionsValidation/bin/Packages
45+
cd Source/TimeWarp.OptionsValidation/bin/Packages
4646
dotnet nuget push *.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.PUBLISH_TO_NUGET_ORG }}
4747
4848
- name: Verify Directory.Build.props
@@ -57,14 +57,14 @@ jobs:
5757
run: |
5858
git config --local user.email "action@github.com"
5959
git config --local user.name "GitHub Action"
60-
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
60+
$version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion>(.*?)</PackageVersion>').Matches.Groups[1].Value
6161
git tag -a "$version" -m "Release $version"
6262
git push origin "$version"
6363
6464
- name: Check if version is not a pre-release
6565
id: check_pre_release
6666
run: |
67-
$version = (Select-String -Path "Directory.Build.props" -Pattern '<Version>(.*?)</Version>').Matches.Groups[1].Value
67+
$version = (Select-String -Path "Directory.Build.props" -Pattern '<PackageVersion>(.*?)</PackageVersion>').Matches.Groups[1].Value
6868
$isPreRelease = $version -match '-(alpha|beta)'
6969
echo "IsPreRelease=$isPreRelease"
7070
# Setting output that indicates whether it's a pre-release version
File renamed without changes.

source/TimeWarp.OptionsValidation/Configuration/OptionsValidation.cs renamed to Source/TimeWarp.OptionsValidation/Configuration/OptionsValidation.cs

File renamed without changes.

source/TimeWarp.OptionsValidation/Configuration/SectionNameAttribute.cs renamed to Source/TimeWarp.OptionsValidation/Configuration/SectionNameAttribute.cs

File renamed without changes.

source/TimeWarp.OptionsValidation/Extensions/ServiceCollectionExtensions.cs renamed to Source/TimeWarp.OptionsValidation/Extensions/ServiceCollectionExtensions.cs

File renamed without changes.

source/TimeWarp.OptionsValidation/Extensions/ServiceProviderExtensions.cs renamed to Source/TimeWarp.OptionsValidation/Extensions/ServiceProviderExtensions.cs

File renamed without changes.

source/TimeWarp.OptionsValidation/GlobalSuppressions.cs renamed to Source/TimeWarp.OptionsValidation/GlobalSuppressions.cs

File renamed without changes.
File renamed without changes.

source/TimeWarp.OptionsValidation/TimeWarp.OptionsValidation.csproj renamed to Source/TimeWarp.OptionsValidation/TimeWarp.OptionsValidation.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<None Include="..\..\assets\Logo.png" Pack="true" PackagePath="\"/>
11+
<None Include="..\..\Assets\Logo.png" Pack="true" PackagePath="\"/>
1212
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
1313
<None Include="..\..\LICENSE" Pack="true" PackagePath="\"/>
1414
</ItemGroup>

0 commit comments

Comments
 (0)