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

Ignore 'release' component of version if downloading from packages.chef.io #7299

Merged
merged 2 commits into from Jan 14, 2020

Conversation

smacfarlane
Copy link
Contributor

Closes #7253

For install .tar.gz/.zip files hosted on packages.chef.io, we no longer use the release portion of our fully qualified identifier in the filename or path. Since there is only ever one version as part of our new release process, we can safely ignore the release portion if the user specifies -v in the format of version/release.

For Linux, if a release is specified it must still be valid, due to how we how we only use the packages.chef.io download to bootstrap and fetch the appropriate .hart from Builder to install.

version/release is still supported by our packages hosted in Bintray, so this change preserves the behavior for versions <= 0.88.0

Signed-off-by: Scott Macfarlane smacfarlane@chef.io

…ef.io

Signed-off-by: Scott Macfarlane <smacfarlane@chef.io>
Signed-off-by: Scott Macfarlane <smacfarlane@chef.io>
@smacfarlane smacfarlane merged commit aea5971 into master Jan 14, 2020
@chef-expeditor chef-expeditor bot deleted the sm/ignore-release-in-install branch January 14, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install.sh no longer accepts version/release
3 participants