Skip to content

Commit 1b7f84d

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 f838b8d commit 1b7f84d

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
@@ -55,9 +55,9 @@
5555
weak
5656
[file "src/Directory.Build.targets"]
5757
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
58-
sha = c67952501337303eda0fb8b340cb7606666abd8f
58+
sha = dcd5f0a9a00a5b0c23d41a71dcc66ea41dc5f75d
5959

60-
etag = cb83faed0cc8b930a7b6bdc61bea03a54059858cf04353e55fee94d9e3ae0fad
60+
etag = 2cca66d8a1adbae24dc2efee53a55fa09949242eb35b86c5fd66425da18c6107
6161
weak
6262
[file "src/nuget.config"]
6363
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
@@ -106,9 +106,9 @@
106106
[file ".github/workflows/publish.yml"]
107107
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
108108
weak
109-
sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687
109+
sha = 0ca5fd11125cd10c51b4433a86917c06ff1ae839
110110

111-
etag = c60411d1aa4e98e7f69e2d34cbccb8eb7e387ec11f6f8e78ee8d8b92122d7025
111+
etag = ac46ffdcef820bbc6bd32378aef25ff79713196e0a5696791abb3a804e06e4d8
112112
[file ".gitignore"]
113113
url = https://github.com/devlooped/oss/blob/main/.gitignore
114114
sha = ff61659751374b95c7a8a0477c908a8119f756f0
@@ -148,9 +148,9 @@
148148
skip
149149
[file ".github/workflows/triage.yml"]
150150
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
151-
sha = 61a602fc61eedbdae235f01e93657a6219ac2427
151+
sha = 5ee8c91c8d9e8c0ee739fe1ec877f36c15a4aff0
152152

153-
etag = 152cd3a559c08da14d1da12a5262ba1d2e0ed6bed6d2eabf5bd209b0c35d8a75
153+
etag = b19dc36058fc7d385cb5795c9e0860c11b9d027c57cb2a5e6a112e692c6884c1
154154
weak
155155
[file ".github/workflows/dotnet-env.yml"]
156156
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)