diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 035d811..4fe29c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ env: Configuration: Release PackOnBuild: true GeneratePackageOnBuild: true - VersionLabel: ${{ github.ref }} + VersionLabel: refs/tags/${{ github.event.release.tag_name }} GH_TOKEN: ${{ secrets.GH_TOKEN }} MSBUILDTERMINALLOGGER: auto SLEET_FEED_URL: https://api.nuget.org/v3/index.json @@ -44,6 +44,16 @@ jobs: name: logs path: '*.binlog' + - name: ✅ validate + shell: pwsh + working-directory: bin + run: | + $invalid = Get-ChildItem -File -Filter "*.42.42*.nupkg" + if ($invalid) { + Write-Error "Found dev/local packages with disallowed 42.42* version prefix:`n$($invalid.Name -join "`n")" + exit 1 + } + - name: 🚀 nuget env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 99eec76..bd30f7c 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -1,7 +1,7 @@ name: 'triage' on: schedule: - - cron: '42 0 * * *' + - cron: '42 0 1,15 * *' workflow_dispatch: # Manual triggering through the GitHub UI, API, or CLI @@ -104,4 +104,4 @@ jobs: closeDays: ${{ fromJson(inputs.daysBeforeClose || 30) }} closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity.\n\nHappy Coding!" pingDays: 80 - 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." \ No newline at end of file + 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." diff --git a/.netconfig b/.netconfig index b74d5f5..1fcf3d6 100644 --- a/.netconfig +++ b/.netconfig @@ -62,8 +62,8 @@ weak [file ".github/workflows/publish.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml - sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687 - etag = c60411d1aa4e98e7f69e2d34cbccb8eb7e387ec11f6f8e78ee8d8b92122d7025 + sha = 0ca5fd11125cd10c51b4433a86917c06ff1ae839 + etag = ac46ffdcef820bbc6bd32378aef25ff79713196e0a5696791abb3a804e06e4d8 weak [file ".gitignore"] url = https://github.com/devlooped/oss/blob/main/.gitignore @@ -97,8 +97,8 @@ weak [file "src/Directory.Build.targets"] url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets - sha = c67952501337303eda0fb8b340cb7606666abd8f - etag = cb83faed0cc8b930a7b6bdc61bea03a54059858cf04353e55fee94d9e3ae0fad + sha = dcd5f0a9a00a5b0c23d41a71dcc66ea41dc5f75d + etag = 2cca66d8a1adbae24dc2efee53a55fa09949242eb35b86c5fd66425da18c6107 weak [file "src/nuget.config"] url = https://github.com/devlooped/oss/blob/main/src/nuget.config @@ -120,8 +120,8 @@ skip [file ".github/workflows/triage.yml"] url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml - sha = 61a602fc61eedbdae235f01e93657a6219ac2427 - etag = 152cd3a559c08da14d1da12a5262ba1d2e0ed6bed6d2eabf5bd209b0c35d8a75 + sha = 5ee8c91c8d9e8c0ee739fe1ec877f36c15a4aff0 + etag = b19dc36058fc7d385cb5795c9e0860c11b9d027c57cb2a5e6a112e692c6884c1 weak [file "osmfeula.txt"] url = https://github.com/devlooped/.github/blob/main/osmfeula.txt diff --git a/src/Directory.Build.targets b/src/Directory.Build.targets index 20a680d..bd2b7ca 100644 --- a/src/Directory.Build.targets +++ b/src/Directory.Build.targets @@ -39,7 +39,7 @@ $(MSBuildSDKsPath)\..\NuGet.Build.Tasks.Pack.targets - +