Skip to content

Commit

Permalink
Merge pull request #38 from litetex/develop
Browse files Browse the repository at this point in the history
Minor Updates / QoL 🌲
  • Loading branch information
litetex authored Jun 5, 2020
2 parents b74d25a + ca59116 commit d25a3b5
Show file tree
Hide file tree
Showing 17 changed files with 218 additions and 36 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Build
run: dotnet build --configuration Release
Expand All @@ -24,10 +24,11 @@ jobs:
runs-on: ubuntu-latest

steps:
# The maximum value for either of the parts is 65534 - https://stackoverflow.com/a/37941296/11649486
- name: Generate version and save it to file
shell: bash
run: |
echo $(date -u +%Y.%m.%d.%k%M%S)-dev | tee version.txt
echo $(date -u +%Y.%m.%d.%k%M) | tee version.txt
- name: Upload version - Upload Artifact
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -66,11 +67,12 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Pack
working-directory: ${{ matrix.project }}
run: dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }}
run: |
dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }}-dev -p:AssemblyVersion=${{ steps.versionprovider.outputs.version }} -p:PathMap="$GITHUB_WORKSPACE=/" -p:ContinuousIntegrationBuild=true
- name: Find nupkg file
id: nupkgvar
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/master-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Build
run: dotnet build --configuration Release
Expand All @@ -24,10 +24,11 @@ jobs:
runs-on: ubuntu-latest

steps:
# The maximum value for either of the parts is 65534 - https://stackoverflow.com/a/37941296/11649486
- name: Generate version and save it to file
shell: bash
run: |
echo $(date -u +%Y.%m.%d.%k%M%S)-dev | tee version.txt
echo $(date -u +%Y.%m.%d.%k%M) | tee version.txt
- name: Upload version - Upload Artifact
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -66,11 +67,12 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Pack
working-directory: ${{ matrix.project }}
run: dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }}
run: |
dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }}-dev -p:AssemblyVersion=${{ steps.versionprovider.outputs.version }} -p:PathMap="$GITHUB_WORKSPACE=/" -p:ContinuousIntegrationBuild=true
- name: Find nupkg file
id: nupkgvar
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Build
run: dotnet build --configuration Release
Expand All @@ -26,8 +26,9 @@ jobs:
steps:
- name: Generate version and save it to file
shell: bash
# The maximum value for either of the parts is 65534 - https://stackoverflow.com/a/37941296/11649486
run: |
echo $(date -u +%Y.%m.%d.%k%M%S) | tee version.txt
echo $(date -u +%Y.%m.%d.%k%M) | tee version.txt
- name: Upload version - Upload Artifact
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -112,11 +113,12 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.201
dotnet-version: 3.1.300

- name: Pack
working-directory: ${{ matrix.project }}
run: dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }}
run: |
dotnet pack --configuration Release -p:PackageVersion=${{ steps.versionprovider.outputs.version }} -p:AssemblyVersion=${{ steps.versionprovider.outputs.version }} -p:PathMap="$GITHUB_WORKSPACE=/" -p:ContinuousIntegrationBuild=true
- name: Find nupkg file
id: nupkgvar
Expand Down
9 changes: 9 additions & 0 deletions CoreFramework.Base/CoreFramework.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,20 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

</PropertyGroup>

<ItemGroup>
<!-- SourceLink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<None Include="icon.png" Pack="true" PackagePath="" />
</ItemGroup>
Expand Down
23 changes: 22 additions & 1 deletion CoreFramework.Base/packages.lock.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
{
"version": 1,
"dependencies": {
".NETCoreApp,Version=v3.1": {}
".NETCoreApp,Version=v3.1": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.0.0, )",
"resolved": "1.0.0",
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.0.0",
"Microsoft.SourceLink.Common": "1.0.0"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
}
}
}
}
9 changes: 9 additions & 0 deletions CoreFramework.Config.Json/CoreFramework.Config.Json.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<!-- SourceLink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
</ItemGroup>
Expand Down
22 changes: 21 additions & 1 deletion CoreFramework.Config.Json/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,39 @@
"version": 1,
"dependencies": {
".NETCoreApp,Version=v3.1": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.0.0, )",
"resolved": "1.0.0",
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.0.0",
"Microsoft.SourceLink.Common": "1.0.0"
}
},
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[12.0.3, )",
"resolved": "12.0.3",
"contentHash": "6mgjfnRB4jKMlzHSl+VD+oUc1IebOZabkbyWj2RiTgWwYPPuaK1H97G1sHqGwPlS5npiF5Q0OrxN1wni2n5QWg=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
},
"Litetex.CoreFramework.Base": {
"type": "Project"
},
"Litetex.CoreFramework.Config": {
"type": "Project",
"dependencies": {
"Litetex.CoreFramework.Base": "1.0.7446.27283"
"Litetex.CoreFramework.Base": "1.0.0"
}
}
}
Expand Down
11 changes: 10 additions & 1 deletion CoreFramework.Config.Yaml/CoreFramework.Config.Yaml.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,21 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<!-- SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="YamlDotNet" Version="8.1.1" />
<PackageReference Include="YamlDotNet" Version="8.1.2" />
</ItemGroup>

<ItemGroup>
Expand Down
28 changes: 24 additions & 4 deletions CoreFramework.Config.Yaml/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,39 @@
"version": 1,
"dependencies": {
".NETCoreApp,Version=v3.1": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.0.0, )",
"resolved": "1.0.0",
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.0.0",
"Microsoft.SourceLink.Common": "1.0.0"
}
},
"YamlDotNet": {
"type": "Direct",
"requested": "[8.1.1, )",
"resolved": "8.1.1",
"contentHash": "JXPO7bjUUeDIXgzlLAdNFCzrxBxBzYBbXy3MEp2uWIY7KK8LoNogaPhSg2mLuzCN5flp1ydeVqm+4j3tkP0pow=="
"requested": "[8.1.2, )",
"resolved": "8.1.2",
"contentHash": "GlPKbb4l+91dyYVKV7UnJlr2CWooNNM1ayZWC90QAmlFPgbwSkfhgId7dGjTAHqkB84BZqjMSy5PlAYf1iejVA=="
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
},
"Litetex.CoreFramework.Base": {
"type": "Project"
},
"Litetex.CoreFramework.Config": {
"type": "Project",
"dependencies": {
"Litetex.CoreFramework.Base": "1.0.7446.27283"
"Litetex.CoreFramework.Base": "1.0.0"
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions CoreFramework.Config/CoreFramework.Config.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<!-- SourceLink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CoreFramework.Base\CoreFramework.Base.csproj" />
</ItemGroup>
Expand Down
20 changes: 20 additions & 0 deletions CoreFramework.Config/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@
"version": 1,
"dependencies": {
".NETCoreApp,Version=v3.1": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.0.0, )",
"resolved": "1.0.0",
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.0.0",
"Microsoft.SourceLink.Common": "1.0.0"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
},
"Litetex.CoreFramework.Base": {
"type": "Project"
}
Expand Down
9 changes: 9 additions & 0 deletions CoreFramework.CrashLogging/CoreFramework.CrashLogging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl />

<!-- SourceLink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>

<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<ItemGroup>
<!-- SourceLink -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CoreFramework.Logging\CoreFramework.Logging.csproj" />
</ItemGroup>
Expand Down
22 changes: 21 additions & 1 deletion CoreFramework.CrashLogging/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
"version": 1,
"dependencies": {
".NETCoreApp,Version=v3.1": {
"Microsoft.SourceLink.GitHub": {
"type": "Direct",
"requested": "[1.0.0, )",
"resolved": "1.0.0",
"contentHash": "aZyGyGg2nFSxix+xMkPmlmZSsnGQ3w+mIG23LTxJZHN+GPwTQ5FpPgDo7RMOq+Kcf5D4hFWfXkGhoGstawX13Q==",
"dependencies": {
"Microsoft.Build.Tasks.Git": "1.0.0",
"Microsoft.SourceLink.Common": "1.0.0"
}
},
"Microsoft.Build.Tasks.Git": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "z2fpmmt+1Jfl+ZnBki9nSP08S1/tbEOxFdsK1rSR+LBehIJz1Xv9/6qOOoGNqlwnAGGVGis1Oj6S8Kt9COEYlQ=="
},
"Microsoft.NETCore.Platforms": {
"type": "Transitive",
"resolved": "1.1.0",
Expand All @@ -12,6 +27,11 @@
"resolved": "1.1.0",
"contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg=="
},
"Microsoft.SourceLink.Common": {
"type": "Transitive",
"resolved": "1.0.0",
"contentHash": "G8DuQY8/DK5NN+3jm5wcMcd9QYD90UV7MiLmdljSJixi3U/vNaeBKmmXUqI4DJCOeWizIUEh4ALhSt58mR+5eg=="
},
"runtime.native.System": {
"type": "Transitive",
"resolved": "4.3.0",
Expand Down Expand Up @@ -260,7 +280,7 @@
"Litetex.CoreFramework.Logging": {
"type": "Project",
"dependencies": {
"Litetex.CoreFramework.Base": "1.0.7446.27283",
"Litetex.CoreFramework.Base": "1.0.0",
"Serilog": "2.9.0",
"Serilog.Enrichers.Thread": "3.1.0",
"Serilog.Sinks.Console": "3.1.1",
Expand Down
Loading

0 comments on commit d25a3b5

Please sign in to comment.