Skip to content

Commit d73b31d

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update Directory.Build.props with support for underscores in branch name devlooped/oss@81d972f
1 parent e204494 commit d73b31d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.netconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
weak
1313
[file "src/Directory.Build.props"]
1414
url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.props
15-
sha = 2fff747a9673b499c99f2da183cdd5263fdc9333
15+
sha = 81d972fd0760c244d134dae7f4b17d6c43cb004a
1616

17-
etag = 0fccddf04f282fe98122ab2610dc2972c205a521254559bf013655c6271b0017
17+
etag = 1368697c1521e465a1dea88b93787b1c7def441c37d62afc903fb8d07179e4f6
1818
weak
1919
[file "src/Directory.Build.targets"]
2020
url = https://github.com/devlooped/oss/tree/main/src/Directory.Build.targets

src/Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
<_VersionLabel>$(_VersionLabel.Replace('/merge', ''))</_VersionLabel>
127127
<!-- Finally sanitize the branch with dashes, so we can build path-separated branches, like rel/v1.0.0 or feature/foo -->
128128
<_VersionLabel>$(_VersionLabel.Replace('/', '-'))</_VersionLabel>
129+
<!-- And underscores which are also invalid labels, so we can use branches like dev/feature_foo -->
130+
<_VersionLabel>$(_VersionLabel.Replace('_', '-'))</_VersionLabel>
129131

130132
<!-- Set sanitized version to the actual version suffix used in build/pack -->
131133
<VersionSuffix Condition="!$(VersionLabel.Contains('refs/tags/'))">$(_VersionLabel)</VersionSuffix>

0 commit comments

Comments
 (0)