Skip to content

Skip duplicate GitHub package publishes - #32

Merged
ejsmith merged 1 commit into
mainfrom
fix/unique-ci-package-version
Jul 28, 2026
Merged

Skip duplicate GitHub package publishes#32
ejsmith merged 1 commit into
mainfrom
fix/unique-ci-package-version

Conversation

@ejsmith

@ejsmith ejsmith commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • check GitHub Packages for the computed MinVer package version before publishing
  • skip publishing when that immutable version already exists
  • preserve failures for missing versions when the actual publish command fails

Root cause

The main-branch CI run built and tested successfully, then failed publishing @foundatiofx/fetchclient@1.3.4-alpha.0.4 with E409 Cannot publish over existing version.

This applies the npm equivalent of the shared Foundatio .NET workflow's dotnet nuget push --skip-duplicate behavior. Package versions and tagged release behavior are unchanged.

Failed run: https://github.com/FoundatioFx/FetchClient/actions/runs/29471432936

Validation

  • deno task format-check
  • deno task lint
  • deno task check
  • deno task test (198 passed)
  • exercised both shell branches: existing package skips; missing package publishes
  • git diff --check

@ejsmith
ejsmith marked this pull request as ready for review July 28, 2026 23:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c579e0182

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
@ejsmith
ejsmith merged commit a65f85c into main Jul 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant