Skip to content

Commit 36c9980

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
1 parent a89397c commit 36c9980

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
weak
2323
[file ".github/workflows/build.yml"]
2424
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
25-
sha = 7e3288c3c7746354edc2836e4fb71f11e17db83c
26-
etag = bea8f881a2c7a02de70a201806edb432f7185d39df762f76efdefe392ea019a5
25+
sha = 1ec63850f943894e4b032cfc8721ff1aaffda7e0
26+
etag = 8a28f50655857cd25e97709354943b9665fb5efe05cf637860f2c45315c5f5e7
2727
weak
2828
[file ".github/workflows/changelog.config"]
2929
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
@@ -99,8 +99,8 @@
9999
skip
100100
[file "src/Directory.Build.props"]
101101
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
102-
sha = ef8e7fa7593ded91d871d30eeebd0dc79f679159
103-
etag = 1d5ec6bdb8b12c13635a11364dcfe54aefb82cc171f332a8d536aa35476222d5
102+
sha = 28a27ba9594b5df731460864038593f568f6d64e
103+
etag = a5cfa7374ce9141e98426583688be558d08a35b1c9be0c8150e7c4a0a5cfde1b
104104
weak
105105
[file "src/Directory.Build.targets"]
106106
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets

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) != ''">

0 commit comments

Comments
 (0)