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

handle multiple release versions in the archived manifest #954

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

etsai-stripe
Copy link
Contributor

@etsai-stripe etsai-stripe commented Aug 25, 2022

Reviewers

r? @tomer-stripe
cc @stripe/developer-products

Summary

happy path by archive-path

st-etsai1:stripe-cli etsai$ stripe-dev plugin install --archive-path ~/Downloads/stripe-cli-next-v0.2.1-macos-all.tar.gz
extracting tarball at /Users/etsai/Downloads/stripe-cli-next-v0.2.1-macos-all.tar.gz...
✔ extracted manifest 'manifest.toml'
✔ extracted plugin 'stripe-cli-next'
✔ updated '/Users/etsai/.config/stripe/plugins.toml' with a release entry for 'stripe-cli-next'
✔ installation complete.

happy path by sc-curl

st-etsai1:stripe-cli etsai$ sc-curl https://artifactory.stripe.build/artifactory/thirdparty-managed/stripe-cli/plugins/stripe-cli-next/stripe-cli-next-v0.2.1-macos-all.tar.gz/01aba21d7d64c44afba936a71379fb40c45f00023168fa35c3c952d958bf87fc/stripe-cli-next-v0.2.1-macos-all.tar.gz | stripe-dev plugin install -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0✔ extracted manifest 'manifest.toml'
100 10.0M  100 10.0M    0     0  3876k      0  0:00:02  0:00:02 --:--:-- 3875k
✔ extracted plugin 'stripe-cli-next'
✔ updated '/Users/etsai/.config/stripe/plugins.toml' with a release entry for 'stripe-cli-next'
✔ installation complete.
st-etsai1:stripe-cli etsai$ stripe-dev next version
next version 0.2.1

checksums dont match with existing pluging.toml

st-etsai1:stripe-cli etsai$ stripe-dev plugin install --archive-path ~/Downloads/stripe-cli-next-v0.2.1-macos-all.tar.gz
extracting tarball at /Users/etsai/Downloads/stripe-cli-next-v0.2.1-macos-all.tar.gz...
✔ extracted manifest 'manifest.toml'
✔ extracted plugin 'stripe-cli-next'
release version 'amd64/darwin/v0.2.1' is already installed but checksums do not match

@etsai-stripe etsai-stripe merged commit d08cf13 into master Aug 25, 2022
@etsai-stripe etsai-stripe deleted the etsai/dx7624 branch September 6, 2022 16:20
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.

None yet

3 participants