Skip to content

Commit

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

- NoTargets/Traversal SDKs now support central package versions too devlooped/oss@afca922
- Enable floating versions for central packages by default devlooped/oss@b1d14c6
- Update .gitignore with BenchmarkDotNet artifacts default path devlooped/oss@e20e906
- Remove whitespace and add results to ignore devlooped/oss@ef852e7
- Fix dependabot group for tests devlooped/oss@49661db
- Make sure build runs before pack devlooped/oss@ede013a
- Switch to PackOnBuild=true and remove pack step devlooped/oss@6e7a3ab
  • Loading branch information
devlooped-bot committed Jan 31, 2024
1 parent 3f252eb commit ed59986
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ updates:
- "Microsoft.AspNetCore*"
Tests:
patterns:
- "Microsoft.NET.Tests*"
- "Microsoft.NET.Test*"
- "xunit*"
- "coverlet*"
ThisAssembly:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ env:
DOTNET_NOLOGO: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}

PackOnBuild: true
GeneratePackageOnBuild: true

defaults:
run:
shell: bash
Expand Down Expand Up @@ -67,9 +69,6 @@ jobs:
- name: 🧪 test
uses: ./.github/workflows/test

- name: 📦 pack
run: dotnet pack -m:1

# Only push CI package to sleet feed if building on ubuntu (fastest)
- name: 🚀 sleet
env:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
env:
DOTNET_NOLOGO: true
Configuration: Release

PackOnBuild: true
GeneratePackageOnBuild: true

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -27,8 +29,5 @@ jobs:
- name: 🧪 test
uses: ./.github/workflows/test

- name: 📦 pack
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v}

- name: 🚀 nuget
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ obj
artifacts
pack
TestResults
results
BenchmarkDotNet.Artifacts
.vs
.vscode
.idea
Expand Down
20 changes: 10 additions & 10 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
weak
[file ".github/dependabot.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml
sha = 35ca3f3405452465058d89005f8a88a65847c377
etag = f8080f8f04d87529e90d9a66751d304a7141196fb9734aa2d110784e52e66898
sha = 49661dbf0720cde93eb5569be7523b5912351560
etag = c147ea2f3431ca0338c315c4a45b56ee233c4d30f8d6ab698d0e1980a257fd6a
weak
[file ".github/workflows/build.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
sha = 13d67e2cf3f786c8189364fd29332aaa7dc575dc
etag = c616df0877fba60002ccfc0397e9f731ddb22acbbb195a0598fedd4cac5f3135
sha = 6e7a3ab866a523d036e95066ab63351b63cc8a24
etag = 11c16867077f1d67b23a75e83556d3cd761aa6a69fd6c6bbed7d0f6b202c33da
weak
[file ".github/workflows/changelog.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
Expand All @@ -59,13 +59,13 @@
weak
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
sha = d3022567c9ef2bc9461511e53b8abe065afdf03b
etag = 58601b5a71c805647ab26e84053acdfb8d174eaa93330487af8a5503753c5707
sha = 6e7a3ab866a523d036e95066ab63351b63cc8a24
etag = d2ca0380f60f4396fcf250abe334da9a3edeac6612f9d77e5dd8a93d30e46b6c
weak
[file ".gitignore"]
url = https://github.com/devlooped/oss/blob/main/.gitignore
sha = 4bd702593c10df189cd4a0f6e6fb72e55de02198
etag = f11dcc8c057bd2f526aa9c7090c9568d1656fafaaedc6719da42a00283018ffa
sha = ef852e7d2ec9a845dac272dfc479909c0bc6d9f3
etag = a556d6108892aa8e7e63476f4fad3a898b3ec1deda94332dd4e89d2fb6b555ca
weak
[file "Directory.Build.rsp"]
url = https://github.com/devlooped/oss/blob/main/Directory.Build.rsp
Expand All @@ -89,8 +89,8 @@
weak
[file "src/Directory.Build.props"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
sha = 1bf1eacc7ac3920d52c8e7045bfa34abc7c05302
etag = e9fd8ef4740d5559fa495580b04ec3437b99edbfb8452813907337f9374c1282
sha = b1d14c6379e5820eb2c30e08bedbdf6e9c8e8cb2
etag = 33cd19e0f599f444c320406da3452e9e84d28c3bb13c09e9190d9d2e7f129545
weak
[file "src/Directory.Build.targets"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ The versioning scheme for packages is:
[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon)
[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon)
[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis)
[![Sean Killeen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SeanKilleen.png "Sean Killeen")](https://github.com/SeanKilleen)
[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel)
[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi)
[![Mike James](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MikeCodesDotNET.png "Mike James")](https://github.com/MikeCodesDotNET)
Expand Down
3 changes: 2 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\bin'))</PackageOutputPath>

<!-- Use Directory.Packages.props if possible. NOTE: other MSBuild SDKs (i.e. NoTargets/Traversal) do not support central packages -->
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props') AND ('$(MSBuildProjectExtension)' == '.csproj' OR '$(MSBuildProjectExtension)' == '.vbproj')">true</ManagePackageVersionsCentrally>
<ManagePackageVersionsCentrally Condition="Exists('$(MSBuildThisFileDirectory)Directory.Packages.props')">true</ManagePackageVersionsCentrally>
<CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled>

<!-- Ensure MSBuild tooling can access package artifacts always via PKG_[PackageId] -->
<GeneratePathProperty>true</GeneratePathProperty>
Expand Down

0 comments on commit ed59986

Please sign in to comment.