Skip to content

bend --publish mistakes paths containing @ for package names #2308

Backlog

Description

@oxura

What you did

Ran bend --publish './work@branch/prog.bend' on a valid entry. The @ is in the checkout directory, not in the package name.

What happened

Bend refused the file before it read it: a package is named <name>@<version>. The optional publish operand takes the path just because it contains @. Passing the file before --publish works around this.

bend --version

2.0.40, main at 966bbb74.

uname -sm

Linux x86_64.

clang --version (the first line)

clang version 22.1.8. This repro only needs Bun.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions