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

# clarius/pages
  • Loading branch information
devlooped-bot committed Jul 10, 2024
1 parent 675ac6b commit 6b4034a
Show file tree
Hide file tree
Showing 43 changed files with 53 additions and 2,602 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
18 changes: 12 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,31 @@
name: build
on:
workflow_dispatch:
inputs:
configuration:
type: choice
description: Configuration
options:
- Release
- Debug
push:
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
paths-ignore:
- changelog.md
- code-of-conduct.md
- security.md
- support.md
- readme.md
pull_request:
types: [opened, synchronize, reopened]

env:
DOTNET_NOLOGO: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
PackOnBuild: true
GeneratePackageOnBuild: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

MSBUILDTERMINALLOGGER: auto
Configuration: ${{ github.event.inputs.configuration || 'Release' }}

defaults:
run:
shell: bash
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
name: publish
on:
release:
types: [released]
types: [prereleased, released]

env:
DOTNET_NOLOGO: true
Configuration: Release
PackOnBuild: true
GeneratePackageOnBuild: true
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

MSBUILDTERMINALLOGGER: auto

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -25,7 +27,7 @@ jobs:
fetch-depth: 0

- name: 🙏 build
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
run: dotnet build -m:1 -bl:build.binlog

- name: 🧪 test
uses: ./.github/workflows/test
Expand All @@ -38,4 +40,15 @@ jobs:
path: '*.binlog'

- name: 🚀 nuget
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
if: env.NUGET_API_KEY != ''
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

- name: 🚀 sleet
env:
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}
if: env.SLEET_CONNECTION != ''
run: |
dotnet tool install -g --version 4.0.18 sleet
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
24 changes: 0 additions & 24 deletions .github/workflows/sponsor.yml

This file was deleted.

204 changes: 12 additions & 192 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,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 All @@ -42,8 +42,8 @@
weak
[file ".github/workflows/build.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
etag = 6efc7d096b25bb4bbeffe7960a1194f1ceb5d21abeda85d28b55594b648ab44a
sha = 65f89e06ed7b2ac33ed3b729adc865b7076840d8
etag = 20ef46203325f5b3d06a991f8b38c24bcea49fd74d39062a62003448e2dd8b0a
weak
[file ".github/workflows/changelog.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
Expand All @@ -57,8 +57,8 @@
weak
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
etag = 9ea4083894308a610742488923d2a44778ebba6ca73fb13424647d9a82c918b4
sha = 40ee833a83d843c242914599e2635ca9a05aa837
etag = 105db682c332b2bb0873e60a7d2da45b00fe7d83da0f0e7dbf9a84bc5be77c25
weak
[file ".gitignore"]
url = https://github.com/devlooped/oss/blob/main/.gitignore
Expand Down Expand Up @@ -87,13 +87,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 Down Expand Up @@ -130,193 +130,13 @@
sha = 055a8b7c94b74ae139cce919d60b83976d2a9942
etag = ddb17acb5872e9e69a76f9dec0ca590f25382caa2ccf750df058dcabb674db2b
weak
[file ".github/workflows/sponsor.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/sponsor.yml
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
etag = 0849ee61af6daee29615f9632173b4e82da5bfa9d78ff28907e9408bd5acde4d
weak
[file ".github/workflows/pages.yml"]
url = https://github.com/clarius/pages/blob/main/.github/workflows/pages.yml
sha = afcb0421af6507eba5ceba913b8fc37261efc085
etag = c52b3f0463b88abf696ddf2c6902675e0bc9d1e812bb317cb758221d75330b56
weak
[file "Gemfile"]
url = https://github.com/clarius/pages/blob/main/Gemfile
sha = 565a77f40db0863cb47ceb36f88790259a697c91
etag = 24e482e91192e292b633e3c17c4f095286ffb5a041d299d761b2e6ef99ee7669
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
sha = 90fa16ed0e7300a78a38ee1d23c34a7e875aab27
etag = 3dd7febc8ae6760f19abfe787711f469c288cd803a6f1c545edec34264d48e71
weak
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'

gem 'github-pages', '~> 209', group: :jekyll_plugins
gem 'github-pages', '~> 231', group: :jekyll_plugins
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
Loading

0 comments on commit 6b4034a

Please sign in to comment.