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

Fix get.sh to support go-releaser checksum filename #386

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Conversation

tdmanv
Copy link
Contributor

@tdmanv tdmanv commented Nov 5, 2019

Change Overview

The checksum filename format change. See #385

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

#385

Test Plan

...

+ grep kanister_0.21.0_linux_amd64.tar.gz
+ shasum -a 256 -c ./kanister_0.21.0_linux_amd64.tar.gz.sha256
kanister_0.21.0_linux_amd64.tar.gz: OK
+ popd
/tmp
+ installFile
+ pushd /tmp/kanister-installer-TZR2zP
/tmp/kanister-installer-TZR2zP /tmp
+ tar xvf /tmp/kanister-installer-TZR2zP/kanister_0.21.0_linux_amd64.tar.gz
LICENSE
README.md
kanctl
kando
controller
+ rm /tmp/kanister-installer-TZR2zP/kanister_0.21.0_linux_amd64.tar.gz
+ echo 'Preparing to install into /usr/local/bin'
Preparing to install into /usr/local/bin
+ for bin_name in "${BIN_NAMES[@]}"
+ runAsRoot cp ./kanctl /usr/local/bin
+ local 'cmd=cp ./kanctl /usr/local/bin'
+ '[' 0 -ne 0 ']'
+ cp ./kanctl /usr/local/bin
+ for bin_name in "${BIN_NAMES[@]}"
+ runAsRoot cp ./kando /usr/local/bin
+ local 'cmd=cp ./kando /usr/local/bin'
+ '[' 0 -ne 0 ']'
+ cp ./kando /usr/local/bin
+ popd
/tmp
+ testBinaries
+ for bin_name in "${BIN_NAMES[@]}"
+ echo 'kanctl installed into /usr/local/bin/kanctl'
kanctl installed into /usr/local/bin/kanctl
+ type kanctl
+ for bin_name in "${BIN_NAMES[@]}"
+ echo 'kando installed into /usr/local/bin/kando'
kando installed into /usr/local/bin/kando
+ type kando
+ cleanup
+ [[ -d /tmp/kanister-installer-TZR2zP ]]
+ rm -rf /tmp/kanister-installer-TZR2zP
  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@SupriyaKasten
Copy link
Contributor

🚀 :shipit:

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

2 participants