Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# devlooped/oss

- SponsorLink code should be checked as regular code devlooped/oss@e81ab75
- Set Version from VersionLabel if it's a refs/tags/ devlooped/oss@57653a2
- Cleanup build and publish to use VersionLabel devlooped/oss@14deaea
- Improve default value for GenerateDocumentationFile devlooped/oss@b76de49
- Fix typo in targets devlooped/oss@33a20db
- Update includes.yml to include top-level .md devlooped/oss@d152e74
  • Loading branch information
devlooped-bot committed Aug 14, 2024
1 parent 7ed516a commit 0db20b8
Show file tree
Hide file tree
Showing 44 changed files with 25 additions and 2,633 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,3 @@ dotnet_analyzer_diagnostic.category-Style.severity = none

# VSTHRD200: Use "Async" suffix for async methods
dotnet_diagnostic.VSTHRD200.severity = none

[**/*SponsorLink*/**]
generated_code = true
2 changes: 1 addition & 1 deletion .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: ✍ pull request
uses: peter-evans/create-pull-request@v6
with:
add-paths: '**/*.md'
add-paths: '**.md'
base: main
branch: markdown-includes
delete-branch: true
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/sponsor.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/test/action.yml

This file was deleted.

205 changes: 10 additions & 195 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
skip
[file ".editorconfig"]
url = https://github.com/devlooped/oss/blob/main/.editorconfig
sha = f571a42eac3cad554810dad15139ff390db5e1db
etag = ba2655b8b3ce5491b1c0eea5e0af201a085c48e07542bb9ec2c928084944ea86
sha = e81ab754b366d52d92bd69b24bef1d5b1c610634
etag = 7298c6450967975a8782b5c74f3071e1910fc59686e48f9c9d5cd7c68213cf59
weak
[file ".gitattributes"]
url = https://github.com/devlooped/oss/blob/main/.gitattributes
Expand Down Expand Up @@ -55,20 +55,15 @@
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
skip
[file ".github/workflows/test/action.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/test/action.yml
sha = 9a1b07589b9bde93bc12528e9325712a32dec418
etag = b54216ac431a83ce5477828d391f02046527e7f6fffd21da1d03324d352c3efb
weak
[file ".gitignore"]
url = https://github.com/devlooped/oss/blob/main/.gitignore
sha = 02811fa23b0a102b9b33048335d41e515bf75737
etag = a9c37ae312afac14b78436a7d018af4483d88736b5f780576f2c5a0b3f14998c
weak
[file "Directory.Build.rsp"]
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
sha = ae25fae9d7daf0cb47d537ba870914aa3052f0c9
etag = 6a6c6e1d3895df953abf14c82b0899e3eea75cdcd679f6212dcfea15183d73d6
sha = 0f7f7f7e8a29de9b535676f75fe7c67e629a5e8c
etag = 0ccae83fc51f400bfd7058170bfec7aba11455e24a46a0d7e6a358da6486e255
weak
[file "_config.yml"]
url = https://github.com/devlooped/oss/blob/main/_config.yml
Expand All @@ -87,13 +82,13 @@
weak
[file "src/Directory.Build.props"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
sha = 6e96c592c7b44bfda10404b9f90e4b8fab299249
etag = a4925eb815bbcecc022de8d3245db069573d96ac5ecdf5f0e604f06b5577b01e
sha = b76de49afb376aa48eb172963ed70663b59b31d3
etag = c8b56f3860cc7ccb8773b7bd6189f5c7a6e3a2c27e9104c1ee201fbdc5af9873
weak
[file "src/Directory.Build.targets"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
sha = c618ea86d94402a12c7d7d10fe2b5cb8a21c3eea
etag = 7cb1421f00d9f6f4c00f0ca98e485dcadb927cfa6b3f0b5d4fb212525d2ce9c0
sha = 33a20db26e47589769284817b271ce67ea9ccfd8
etag = 1a3a0151b5771ee97ed8351254ff4c18a0ff568e0df5c33c6830f069bfbb067b
weak
[file "src/kzu.snk"]
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
Expand All @@ -102,8 +97,8 @@
weak
[file ".github/workflows/includes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
etag = e5ee22e115c925fb85ec931cda3ac811fcc453c03904554fa3f573935b221d34
sha = d152e7437fd0d6f6d9363d23cb3b78c07335ea49
etag = ec40db34f379d0c6d83b2ec15624f330318a172cc4f85b5417c63e86eaf601df
weak
[file ".github/release.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/release.yml
Expand All @@ -120,183 +115,3 @@
sha = c1610886eba42cb250e3894aed40c0a258cd383d
etag = 598ee294649a44d4c5d5934416c01183597d08aa7db7938453fd2bbf52a4e64d
weak
[file ".github/workflows/sponsor.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
etag = 0849ee61af6daee29615f9632173b4e82da5bfa9d78ff28907e9408bd5acde4d
weak
[file "src/SponsorLink/Analyzer/Analyzer.csproj"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Analyzer/Analyzer.csproj
sha = 7cda4a18313b0b38b26c0152e1007cdbb9b6ba3a
etag = d9444fa36daa8f4ff8f06fc2f9f600dbd8032f25ff58542d3b96676e0305677e
weak
[file "src/SponsorLink/Analyzer/Properties/launchSettings.json"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Analyzer/Properties/launchSettings.json
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 6c59ab4d008e3221e316c9e3b6e0da155b892680d48cdc400a39d53cb9a12aac
weak
[file "src/SponsorLink/Analyzer/StatusReportingAnalyzer.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Analyzer/StatusReportingAnalyzer.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 23d4cd16294974d85164fc26d6a7e2ae52698f23a62463db5025d69d9c166dc5
weak
[file "src/SponsorLink/Analyzer/buildTransitive/SponsorableLib.targets"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Analyzer/buildTransitive/SponsorableLib.targets
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 332060de0945590d7c41cd237c250b8186acd6fc2045cc85a890368c74fdf473
weak
[file "src/SponsorLink/Directory.Build.props"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Directory.Build.props
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 6823e1e914ecedd174276e3d53517cc0b332bb47c56402a9512cfa6aeeeb067e
weak
[file "src/SponsorLink/Directory.Build.targets"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Directory.Build.targets
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 9938f29c3573bf8bdb9686e1d9884dee177256b1d5dd7ee41472dd64bfbdd92d
weak
[file "src/SponsorLink/Library/Library.csproj"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Library/Library.csproj
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 3720f8ae0605aa64df8f6c1d9769969162175b79c93a21024653f210a42348e6
weak
[file "src/SponsorLink/Library/MyClass.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Library/MyClass.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = b5b3ccd6cd14bb90dd9702b9d7e52cc22c11e601c039617738d688f9fd45d49b
weak
[file "src/SponsorLink/Library/Resources.resx"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Library/Resources.resx
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = aff6051733d22982e761f2b414173aafeab40e0a76a142e2b33025dced213eb2
weak
[file "src/SponsorLink/SponsorLink.targets"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink.targets
sha = 7cda4a18313b0b38b26c0152e1007cdbb9b6ba3a
etag = d725bd9cfa33f35224e91748f64237e4dc66270f7e5ec7c835b78164531ae3db
weak
[file "src/SponsorLink/SponsorLink/AppDomainDictionary.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/AppDomainDictionary.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 4a70f86e73f951bca95618c221d821e38a31ef9092af4ac61447eab845671a28
weak
[file "src/SponsorLink/SponsorLink/DiagnosticsManager.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/DiagnosticsManager.cs
sha = b2a11faac6c1c300bce8c1d45f95b585c19f2953
etag = 9f289f45169f35916fff1857840d4118ed134215639d6dae9016dc62004291a5
weak
[file "src/SponsorLink/SponsorLink/ManifestStatus.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/ManifestStatus.cs
sha = b2a11faac6c1c300bce8c1d45f95b585c19f2953
etag = e46848f83c0436ba33a1c09a4060ad627a74db41bab66bb37ca40fce8a6532a7
weak
[file "src/SponsorLink/SponsorLink/SponsorLink.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorLink.cs
sha = 4fca946c3201d90d30e2183f699c850dcc1bf8d5
etag = 96e1b1b28bfb2372bd5ffcc6bdef65ee926822b3489ce65be4e5a400884dce21
weak
[file "src/SponsorLink/SponsorLink/SponsorLink.csproj"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorLink.csproj
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = ffaea0b580d8dccd672e749a5efd11fda318c484ca4a34428ff81524ec80ec4b
weak
[file "src/SponsorLink/SponsorLink/SponsorLink.es.resx"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorLink.es.resx
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = ded7de7a2624b335beb462763e3580413da21e80c8b40b4c773ca46c7af4e859
weak
[file "src/SponsorLink/SponsorLink/SponsorLink.resx"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorLink.resx
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 7d9e89ef2cf762a6119c9c6c2ed2517b71a546838151c005400301fde8def266
weak
[file "src/SponsorLink/SponsorLink/SponsorLinkAnalyzer.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorLinkAnalyzer.cs
sha = b2a11faac6c1c300bce8c1d45f95b585c19f2953
etag = fc96f7f5642cbf69b35b7e8de1756822580315f0cee61e47da3b2b1b03f68e1a
weak
[file "src/SponsorLink/SponsorLink/SponsorStatus.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorStatus.cs
sha = 4fca946c3201d90d30e2183f699c850dcc1bf8d5
etag = 9a5f6f35c38c34b77796925d80addc998e204bc112fcd5fc124030060390e7c2
weak
[file "src/SponsorLink/SponsorLink/SponsorableLib.targets"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/SponsorableLib.targets
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 2f923a97081481a6a264d63c8ff70ce5ba65c3dbaf7ea078cbe1388fb0868e1c
weak
[file "src/SponsorLink/SponsorLink/ThisAssembly.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/ThisAssembly.cs
sha = b2a11faac6c1c300bce8c1d45f95b585c19f2953
etag = 978269025f58e2bae872af25fdfd94659e234e8365e3014c18b1b20fdcd155bf
weak
[file "src/SponsorLink/SponsorLink/Tracing.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/Tracing.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 22e32872cafd080bcd5ac9084355578ef70910c8e494602ead365139dcbf40c0
weak
[file "src/SponsorLink/SponsorLink/buildTransitive/Devlooped.Sponsors.targets"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/buildTransitive/Devlooped.Sponsors.targets
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 72ec691a085dc34f946627f7038a82569e44f0b63a9f4a7bd60f0f7b52fd198f
weak
[file "src/SponsorLink/SponsorLink/devlooped.pub.jwk"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/devlooped.pub.jwk
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = cf884781ff88b4d096841e3169282762a898b2050c9b5dac0013bc15bdbee267
weak
[file "src/SponsorLink/SponsorLink/sponsorable.md"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLink/sponsorable.md
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 9c275d50705a2e661f0f86f1ae5e555c0033a05e86e12f936283a5b5ef47ae77
weak
[file "src/SponsorLink/SponsorLinkAnalyzer.sln"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/SponsorLinkAnalyzer.sln
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = fc2928c9b303d81ff23891ee791a859b794d9f2d4b9f4e81b9ed15e5b74db487
weak
[file "src/SponsorLink/Tests/.netconfig"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/.netconfig
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 089a26cdb722d57014c8b8104cc6f4e770868efdc49ae3119eebc873f00a316e
weak
[file "src/SponsorLink/Tests/Attributes.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/Attributes.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 1d7c17a2c9424db73746112c338a39e0000134ac878b398e2aa88f7ea5c0c488
weak
[file "src/SponsorLink/Tests/Extensions.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/Extensions.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = f68e11894103f8748ce290c29927bf1e4f749e743ae33d5350e72ed22c15d245
weak
[file "src/SponsorLink/Tests/JsonOptions.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/JsonOptions.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 6e9a1b12757a97491441b9534ced4e5dac6d9d6334008fa0cd20575650bbd935
weak
[file "src/SponsorLink/Tests/Sample.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/Sample.cs
sha = e732f6a2c44a2f7940a1868a92cd66523f74ed24
etag = db968d1d665b77a17e13bc7ca3d43ea65ed05cbebc18669f1b607ebe0e38a59a
weak
[file "src/SponsorLink/Tests/SponsorLinkTests.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/SponsorLinkTests.cs
sha = d74f5111504a0fae6e5a1e68ca92bf7afddb3254
etag = 1fa41250bd984e8aa840a966d34ce0e94f2111d1422d7f50b864c38364fcf4a4
weak
[file "src/SponsorLink/Tests/SponsorableManifest.cs"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/SponsorableManifest.cs
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = e0c95e7fc6c0499dbc8c5cd28aa9a6a5a49c9d0ad41fe028a5a085aca7e00eaf
weak
[file "src/SponsorLink/Tests/Tests.csproj"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/Tests/Tests.csproj
sha = a0ae7272f31c766ebb129ea38c11c01df93b6b5d
etag = 237409e155202ec1b845593195d30057a949b2b18ae46a575e4cf480e4e2c8fe
weak
[file "src/SponsorLink/readme.md"]
url = https://github.com/devlooped/oss/blob/main/src/SponsorLink/readme.md
sha = 827a1d18bf0245978d81bcd3d52e9e6f1584d1ef
etag = 079b4aedba2aa9851e609b569f25c55db8d5922e3dbb1adc22611ce4d6cfe465
weak
2 changes: 1 addition & 1 deletion Directory.Build.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
-nr:false
-m:1
-v:m
-clp:Summary;ForceNoAlign
-clp:Summary;ForceNoAlign
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ See [Program.cs](src/Sample/Program.cs) for a complete example.
[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev)
[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream)
[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC)
[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo)


<!-- sponsors.md -->
Expand Down
8 changes: 5 additions & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@

<PropertyGroup Label="Build">
<Configuration Condition="'$(Configuration)' == '' and $(CI)">Release</Configuration>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateDocumentationFile Condition="$(MSBuildProjectName.Contains('Tests'))">false</GenerateDocumentationFile>
<LangVersion>Latest</LangVersion>

<!-- See https://docs.microsoft.com/en-us/dotnet/standard/assembly/reference-assemblies -->
Expand Down Expand Up @@ -118,6 +116,8 @@

<PropertyGroup Label="Version" Condition="$(VersionLabel) != ''">
<_VersionLabel>$(VersionLabel.Replace('refs/heads/', ''))</_VersionLabel>
<_VersionLabel>$(_VersionLabel.Replace('refs/tags/v', ''))</_VersionLabel>

<!-- For PRs, we just need a fixed package version numbered after the PR # itself, so remove the commits # at the end -->
<_VersionLabel Condition="$(_VersionLabel.Contains('refs/pull/'))">$(VersionLabel.TrimEnd('.0123456789'))</_VersionLabel>
<!-- Next replace the prefix for simply 'pr', so we end up with 'pr99/merge' by default -->
Expand All @@ -128,7 +128,9 @@
<_VersionLabel>$(_VersionLabel.Replace('/', '-'))</_VersionLabel>

<!-- Set sanitized version to the actual version suffix used in build/pack -->
<VersionSuffix>$(_VersionLabel)</VersionSuffix>
<VersionSuffix Condition="!$(VersionLabel.Contains('refs/tags/'))">$(_VersionLabel)</VersionSuffix>
<!-- Special case for tags, the label is actually the version. Backs compat since passed-in value overrides MSBuild-set one -->
<Version Condition="$(VersionLabel.Contains('refs/tags/'))">$(_VersionLabel)</Version>
</PropertyGroup>

<ItemGroup Label="ThisAssembly.Project">
Expand Down
7 changes: 7 additions & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<PropertyGroup Condition="'$(CI)' == 'true' and '$(Language)' == 'C#'">
<DefineConstants>CI;$(DefineConstants)</DefineConstants>
</PropertyGroup>

<PropertyGroup Label="Build">
<!-- Tests projects don't need API docs, typically -->
<GenerateDocumentationFile Condition="$(GenerateDocumentationFile) == '' and $(IsTestProject) == 'true'">false</GenerateDocumentationFile>
<GenerateDocumentationFile Condition="$(GenerateDocumentationFile) == '' and $(MSBuildProjectName.Contains('Tests'))">false</GenerateDocumentationFile>
<GenerateDocumentationFile Condition="$(GenerateDocumentationFile) == ''">true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition="'$(IsPackable)' == ''">
<IsPackable Condition="'$(PackAsTool)' == 'true'">true</IsPackable>
Expand Down
Loading

0 comments on commit 0db20b8

Please sign in to comment.