Skip to content
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

[SR-3657] Dependencies with git-describe style versions are not resolved correctly #5131

Closed
swift-ci opened this issue Jan 17, 2017 · 1 comment
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-3657
Radar rdar://problem/30068250
Original Reporter jaybuff (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 2e0d6772c9804174ffd1365cb7e50607

duplicates:

  • SR-1039 Fetch a dependency with a specified Pre-release version

Issue Description:

$ swift package --version
Apple Swift Package Manager - Swift 3.0.2 (swiftpm-11750)

cd Foo/
swift package init
git init .
git add .
git commit -a -m "initial version"
git tag -a 1.0.0 HEAD -m 1.0.0
vim Sources/Foo.swift # make any change
git commit -a -m "foo change"
git tag -a 1.0.0-6-gdeadbeef HEAD -m 1.0.0-6-gdeadbeef

cd ../Bar
swift package init
vim Package.swift # add Foo at 1.0.0-6-gdeadbeef as a dependency
swift build # note output says "Resolved version: 1.0.0"
ls Packages/ # see version was resolved to 1.0.0 instead of 1.0.0-6-gdeadbeef
@ankitspd
Copy link
Member

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants