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
serialseb edited this page Dec 26, 2010
·
1 revision
Package versioning
OpenWrap considers packages immutable. Each package has a name and a version, and the two together form a unique package identifier.
Version when creating packages
When building a package, OpenWrap tries to read the version in one of two locations.
A file alongside your descriptor called version, and containing a version identifier
A version section in the descriptor file.
Reading a package version
When reading a package, OpenWrap uses the same two locations, and if not found, relies on the version in the package file name.
Auto-generating version numbers
When building a package, if the package definition is in the form major.minor.build.*, OpenWrap will automatically generate a revision number using the date and time on the system building the package.
Version dependencies
When resolving dependencies, OpenWrap ignores the revision part of the version (the fourth number), it is only used for marking different and compatible versions of packages.