Skip to content

Commit dd7ecab

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update Directory.Build.props with support for underscores in branch name devlooped/oss@81d972f
1 parent 239c8be commit dd7ecab

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
@@ -86,8 +86,8 @@
8686
weak
8787
[file "src/Directory.Build.props"]
8888
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.props
89-
sha = 2fff747a9673b499c99f2da183cdd5263fdc9333
90-
etag = 0fccddf04f282fe98122ab2610dc2972c205a521254559bf013655c6271b0017
89+
sha = 81d972fd0760c244d134dae7f4b17d6c43cb004a
90+
etag = 1368697c1521e465a1dea88b93787b1c7def441c37d62afc903fb8d07179e4f6
9191
weak
9292
[file "src/Directory.Build.targets"]
9393
url = https://github.com/devlooped/oss/blob/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)