Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Support --force flag on skrun push to overwrite existing version #2

Copy link
Copy link

Description

@Tarcroi
Issue body actions

Context

skrun push returns a 409 error if the version already exists in the registry. During development, you have to restart the registry (which clears the in-memory DB) to push again.

Proposal

Add a --force flag that overwrites the existing version:

skrun push --force

Files to change

  • packages/cli/src/commands/push.ts — add --force option, pass as query param
  • packages/api/src/routes/registry.ts — handle ?force=true to allow overwrite
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.