Skip to content

Error running self-update on 1.2.0-dev #414

@bkhouri

Description

@bkhouri

I installed 1.2.0-dev by running swift run swiftly init and swiftly self-update is failing with Error: No value set for non-argument var toVersion. Replace with a static variable, or let constant.

❯ git rev-parse HEAD
81a5d7840db9f349da5505945ee72a2d9e6d7a87

❯ swift run swiftly init
Fetching https://github.com/apple/swift-nio-http2.git from cache
<...SNIP...>
[1274/1274] Applying swiftly
Build of product 'swiftly' complete! (65.17s)
Installing swiftly in /Users/bkhouri/.swiftly/bin/swiftly...

❯ swiftly --version   
1.2.0-dev

❯ swiftly self-update
Error: No value set for non-argument var toVersion. Replace with a static variable, or let constant.
Usage: swiftly self-update [--assume-yes] [--verbose]
  See 'swiftly self-update --help' for more information.

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