From 73e584a621d4a4403c39f5607fa6c9c2d0d9f168 Mon Sep 17 00:00:00 2001 From: Felipe Rafael Montenegro Morriberon Date: Tue, 6 Oct 2026 20:05:39 -0500 Subject: [PATCH] fix(release): unquote the wave-2 glob pattern so bash actually expands it Real wave-2 run failed with "File does not exist (artifacts/Vali-Flow.[0-9]*.nupkg)" -- the pattern variable was interpolated inside double quotes, which suppresses bash's glob expansion, so dotnet nuget push received the literal bracket expression as a filename instead of a real package path. Wave 1 and wave 3 already pass their globs unquoted; match that convention here. --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b7ee5e..ee914fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,7 +101,11 @@ jobs: # Vali-Flow.[0-9]* matches only the main package (not Vali-Flow.InMemory.*, Vali-Flow.Sql.*, # or Vali-Flow.NoSql.* — those have a literal "." before a letter, not a digit). for pattern in 'Vali-Flow.[0-9]*' 'Vali-Flow.InMemory.[0-9]*' 'Vali-Flow.Sql.[0-9]*' 'Vali-Flow.NoSql.[0-9]*'; do - dotnet nuget push "artifacts/$pattern.nupkg" --source "$NUGET_SOURCE" --api-key "$NUGET_API_KEY" --skip-duplicate + # Unquoted so bash expands the glob against the real filenames in artifacts/ -- + # quoting it (as a prior version of this step did) passes the literal bracket + # expression to `dotnet nuget push`, which doesn't glob-expand it itself and + # fails with "File does not exist". + dotnet nuget push artifacts/$pattern.nupkg --source "$NUGET_SOURCE" --api-key "$NUGET_API_KEY" --skip-duplicate done - name: 'Wave 2: wait until NuGet.org lists Vali-Flow.NoSql'