Skip to content

Commit 4a4d3ef

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - feat: add validation step to check for disallowed package versions in publish workflow devlooped/oss@0ca5fd1 - Update cron schedule in triage workflow devlooped/oss@5ee8c91 - fix: support robust NuGetize pack delegation for PackFolder=build projects (#39) devlooped/oss@dcd5f0a
1 parent 66da93f commit 4a4d3ef

4 files changed

Lines changed: 20 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
Configuration: Release
1313
PackOnBuild: true
1414
GeneratePackageOnBuild: true
15-
VersionLabel: ${{ github.ref }}
15+
VersionLabel: refs/tags/${{ github.event.release.tag_name }}
1616
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1717
MSBUILDTERMINALLOGGER: auto
1818
SLEET_FEED_URL: https://api.nuget.org/v3/index.json
@@ -44,6 +44,16 @@ jobs:
4444
name: logs
4545
path: '*.binlog'
4646

47+
- name: ✅ validate
48+
shell: pwsh
49+
working-directory: bin
50+
run: |
51+
$invalid = Get-ChildItem -File -Filter "*.42.42*.nupkg"
52+
if ($invalid) {
53+
Write-Error "Found dev/local packages with disallowed 42.42* version prefix:`n$($invalid.Name -join "`n")"
54+
exit 1
55+
}
56+
4757
- name: 🚀 nuget
4858
env:
4959
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

.github/workflows/triage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'triage'
22
on:
33
schedule:
4-
- cron: '42 0 * * *'
4+
- cron: '42 0 1,15 * *'
55

66
workflow_dispatch:
77
# Manual triggering through the GitHub UI, API, or CLI
@@ -104,4 +104,4 @@ jobs:
104104
closeDays: ${{ fromJson(inputs.daysBeforeClose || 30) }}
105105
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity.\n\nHappy Coding!"
106106
pingDays: 80
107-
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
107+
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."

.netconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
weak
4040
[file ".github/workflows/publish.yml"]
4141
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
42-
sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687
43-
etag = c60411d1aa4e98e7f69e2d34cbccb8eb7e387ec11f6f8e78ee8d8b92122d7025
42+
sha = 0ca5fd11125cd10c51b4433a86917c06ff1ae839
43+
etag = ac46ffdcef820bbc6bd32378aef25ff79713196e0a5696791abb3a804e06e4d8
4444
weak
4545
[file ".gitignore"]
4646
url = https://github.com/devlooped/oss/blob/main/.gitignore
@@ -74,8 +74,8 @@
7474
weak
7575
[file "src/Directory.Build.targets"]
7676
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
77-
sha = c67952501337303eda0fb8b340cb7606666abd8f
78-
etag = cb83faed0cc8b930a7b6bdc61bea03a54059858cf04353e55fee94d9e3ae0fad
77+
sha = dcd5f0a9a00a5b0c23d41a71dcc66ea41dc5f75d
78+
etag = 2cca66d8a1adbae24dc2efee53a55fa09949242eb35b86c5fd66425da18c6107
7979
weak
8080
[file "src/kzu.snk"]
8181
url = https://github.com/devlooped/oss/blob/main/src/kzu.snk
@@ -115,8 +115,8 @@
115115
skip
116116
[file ".github/workflows/triage.yml"]
117117
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
118-
sha = 33000c0c4ab4eb4e0e142fa54515b811a189d55c
119-
etag = 152cd3a559c08da14d1da12a5262ba1d2e0ed6bed6d2eabf5bd209b0c35d8a75
118+
sha = 5ee8c91c8d9e8c0ee739fe1ec877f36c15a4aff0
119+
etag = b19dc36058fc7d385cb5795c9e0860c11b9d027c57cb2a5e6a112e692c6884c1
120120
weak
121121
[file ".github/workflows/dotnet-env.yml"]
122122
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-env.yml

src/Directory.Build.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<NuGetBuildTasksPackTargets Condition="'$(NuGetBuildTasksPackTargets)' == ''">$(MSBuildSDKsPath)\..\NuGet.Build.Tasks.Pack.targets</NuGetBuildTasksPackTargets>
4040
</PropertyGroup>
4141

42-
<Import Project="$(NuGetBuildTasksPackTargets)" Condition="Exists('$(NuGetBuildTasksPackTargets)')"/>
42+
<Import Project="$(NuGetBuildTasksPackTargets)" Condition="Exists('$(NuGetBuildTasksPackTargets)') And '$(NuGetize)' != 'true'" />
4343

4444
<PropertyGroup>
4545
<!-- Revert the forced PackageId by the NuGet SDK targets for non-packable projects, see https://github.com/NuGet/Home/issues/14928 -->

0 commit comments

Comments
 (0)