Skip to content

Conversation

@euanh
Copy link
Collaborator

@euanh euanh commented Oct 23, 2024

Motivation

Release 0.1.0 timed out when uploading to Docker Hub and ECR (#17), so the examples should not allow it to be used.

At the time of the initial release, the examples also needed some dependencies to be pinned to the newest versions to avoid compilation problems with Swift 6.0 or the static Linux SDK. These problems have now been fixed upstream, so any new build should succeed.

Furthermore, as time goes on, pinning dependencies means that any new compilation problems arising upstream are hidden. Removing Package.resolved means that each clean build will use the newest available dependencies, so new problems upstream will be highlighted.

Modifications

For each example:
Update Package.swift to use the new plugin release.
Remove Package.resolved.

Result

It should be possible to build and publish the examples to Docker Hub or ECR.

Test Plan

Automated tests still pass; also tested manually with several registries.

@euanh euanh added area/documentation Improvements or additions to documentation semver/none No version bump required. labels Oct 23, 2024
@euanh euanh merged commit 1ee6b17 into apple:main Oct 23, 2024
19 checks passed
@euanh euanh deleted the update-examples branch October 23, 2024 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/documentation Improvements or additions to documentation semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant