Skip to content

Commit 3e8e14e

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Use a better CI version number devlooped/oss@1ec6385 - Only override VersionPrefix if it has no value devlooped/oss@28a27ba - Fix incremental build issue with package files and doc file devlooped/oss@96b6773
1 parent 7adc017 commit 3e8e14e

4 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717

1818
env:
1919
DOTNET_NOLOGO: true
20+
VersionPrefix: 42.42.${{ github.run_number }}
21+
VersionLabel: ${{ github.ref }}
2022

2123
defaults:
2224
run:
@@ -54,7 +56,7 @@ jobs:
5456
fetch-depth: 0
5557

5658
- name: 🙏 build
57-
run: dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
59+
run: dotnet build -m:1
5860

5961
- name: ⚙ GNU grep
6062
if: matrix.os == 'macOS-latest'
@@ -66,7 +68,7 @@ jobs:
6668
uses: ./.github/workflows/test
6769

6870
- name: 📦 pack
69-
run: dotnet pack -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
71+
run: dotnet pack -m:1
7072

7173
# Only push CI package to sleet feed if building on ubuntu (fastest)
7274
- name: 🚀 sleet

.netconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
weak
3030
[file ".github/workflows/build.yml"]
3131
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
32-
sha = 7e3288c3c7746354edc2836e4fb71f11e17db83c
33-
etag = bea8f881a2c7a02de70a201806edb432f7185d39df762f76efdefe392ea019a5
32+
sha = 1ec63850f943894e4b032cfc8721ff1aaffda7e0
33+
etag = 8a28f50655857cd25e97709354943b9665fb5efe05cf637860f2c45315c5f5e7
3434
weak
3535
[file ".github/workflows/changelog.yml"]
3636
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
@@ -84,13 +84,13 @@
8484
weak
8585
[file "src/Directory.Build.props"]
8686
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
87-
sha = ef8e7fa7593ded91d871d30eeebd0dc79f679159
88-
etag = 1d5ec6bdb8b12c13635a11364dcfe54aefb82cc171f332a8d536aa35476222d5
87+
sha = 28a27ba9594b5df731460864038593f568f6d64e
88+
etag = a5cfa7374ce9141e98426583688be558d08a35b1c9be0c8150e7c4a0a5cfde1b
8989
weak
9090
[file "src/Directory.Build.targets"]
9191
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
92-
sha = b9fb0a7d34d6c16fb404f9dff4aac6789ef08a00
93-
etag = 852b16129d2c681ad6ec86ff56b256541e0ce0961eb3a9492e0ead89ffe5a6bd
92+
sha = 96b67734de9897ae5fb99f3b87c7042e6ccd218b
93+
etag = a495854b35fb101774cdfd2b2c2875ed3dd85ada5d04cbdd3b7a90c9afdbe36f
9494
weak
9595
[file ".github/workflows/combine-prs.yml"]
9696
url = https://github.com/devlooped/oss/blob/main/.github/workflows/combine-prs.yml

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
after the fixed prefix. This allows dogfooding a branch build.
113113
The suffix is sanitized and optionally turned into
114114
-->
115-
<VersionPrefix>42.42.42</VersionPrefix>
115+
<VersionPrefix Condition="$(VersionPrefix) == ''">42.42.42</VersionPrefix>
116116
</PropertyGroup>
117117

118118
<PropertyGroup Label="Version" Condition="$(VersionLabel) != ''">

src/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696

9797
<ItemGroup>
9898
<!-- Consider the project out of date if any of these files changes -->
99-
<UpToDateCheck Include="@(PackageFile);@(None);@(Content);@(EmbeddedResource)" />
99+
<UpToDateCheck Include="@(None);@(Content);@(EmbeddedResource)" />
100100
<!-- We'll typically use ThisAssembly.Strings instead of the built-in resource manager codegen -->
101101
<EmbeddedResource Update="@(EmbeddedResource)" Generator="" Condition="'$(EnableRexCodeGenerator)' != 'true'" />
102102
</ItemGroup>

0 commit comments

Comments
 (0)