Skip to content

swiftly 1.0.0-dev (release/1.0) can't install 6.1-snapshot #943

Closed
@kkebo

Description

@kkebo

Summary

swiftly 1.0.0-dev (release/1.0) can't install 6.1-snapshot. I understand that it hasn't released yet, but we need to use 1.0.0-dev on some platforms.

Steps to reproduce

  1. Install swiftly 1.0.0-dev
git clone https://github.com/swiftlang/swiftly
cd swiftly
git switch release/1.0
swift build -c release
.build/release/swiftly init  # and follow the instructions
  1. Run swiftly install 6.1-snapshot

Expected behavior

Swift 6.1 development snapshot is successfully installed.

Actual behavior

$ swiftly install 6.1-snapshot
Fetching the latest 6.1 development branch snapshot...
Error: You have requested to install a snapshot toolchain from branch 6.1 development. It cannot be found on swift.org. Note that snapshots are only available from the current `main` release and the latest x.y (major.minor) release. Try again with a different branch.

I think this is because there is no 6.1 directory in /api/v1/install/dev.

refs: #720 (comment)

Environment

  • Ubuntu 22.04 aarch64
  • swiftly release/1.0 branch 400e6a967a8f2335105d00237afef908d7240355

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