You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.
Description
We using package(url:branch:) API and specify a non-exist branch (existing as a tag) the package resolution is expected to fail.
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Darwin <redacted>.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:56:34 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6020 arm64
The text was updated successfully, but these errors were encountered:
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
We using
package(url:branch:)
API and specify a non-exist branch (existing as a tag) the package resolution is expected to fail.eg.
Expected behavior
Fail with error message - No branch named "0.5.0" can be found on
swift-markdown
repo.Actual behavior
Resolve and update Package.resolved file successfully.
Steps to reproduce
Add the following code after
products
Swift Package Manager version/commit hash
No response
Swift & OS version (output of
swift --version ; uname -a
)The text was updated successfully, but these errors were encountered: