-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
| Previous ID | SR-12926 |
| Radar | rdar://problem/63888891 |
| Original Reporter | @weissi |
| Type | New Feature |
Additional Detail from JIRA
| Votes | 2 |
| Component/s | Package Manager |
| Labels | New Feature |
| Assignee | None |
| Priority | Medium |
md5: c119e8705c814a44ed478dbb1dec3864
relates to:
- SR-473 Add version constants to each package
- SR-4265 [SwiftPM]
CURRENT_PROJECT_VERSIONshould be defined ongenerated-xcodeproj
Issue Description:
This needs design of course but in certain cases it's really helpful if the binary contains the version (ie. the current SHA (+ a "dirty" marker if modified)) of its package in the binary. Even better if accessible in code.
Potentially we could even embed something like Package.resolved into the binary too so that every module could get the information for all packages.
See also: