Skip to content

Update swiftly version to 1.0.0 and add upgrade routine for 0.4.0 #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cmcgee1024
Copy link
Member

No description provided.

@cmcgee1024
Copy link
Member Author

@swift-ci test macOS

@cmcgee1024 cmcgee1024 changed the base branch from main to release/1.0 February 27, 2025 22:35
@cmcgee1024 cmcgee1024 merged commit cad1353 into swiftlang:release/1.0 Feb 27, 2025
19 checks passed
@kateinoigakukun
Copy link
Member

Don't we need to cherry-pick this into main?

cmcgee1024 added a commit that referenced this pull request Mar 13, 2025
* Update swiftly version to 1.0.0 and add upgrade routine for 0.4.0 (#237)

* Make updates better and more resilient

Put a check in-place to unset the global default toolchain if it is no longer installed

Set the global default to the installed toolchain if it is not set

Add full toolchain selection resolution to the update operation resolve update parameters

Fix the use command and toolchain selection routine to consider a global default set to a toolchain that is not installed as no selection at all

Add check for the physical presence of a toolchain to proxy so that it prevents circularity errors and provides an actionable message

* Allow uninstalling of partially installed toolchains from config.json

* Adjust error messages

Add test cases

Control verbosity of uninstall operation on macOS and other platforms

* Make version changes for the main branch, and add upgrade path

* Fix wrapping logic in init command to check for 1.0.x release

* Remove hyphen from the swiftly version suffix

* Fix version check in init
cmcgee1024 added a commit that referenced this pull request Mar 13, 2025
* Update swiftly version to 1.0.0 and add upgrade routine for 0.4.0 (#237)

* Handle macOS system install of pkg

* Prepare for shell one-liner that update the shell environment

* Use a synthesized product build and custom distribution plist

* Add more output to diagnose build release issue

* Properly report the runProgramOutput() command line
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.

3 participants