Skip to content

Instantly share code, notes, and snippets.

@mathieu-benoit
Last active February 28, 2024 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathieu-benoit/18ecd796c50c27badf0f00218bac2ba2 to your computer and use it in GitHub Desktop.
Save mathieu-benoit/18ecd796c50c27badf0f00218bac2ba2 to your computer and use it in GitHub Desktop.
score-install
#!/bin/bash
SCORE_COMPOSE_VERSION=$(curl -sL https://api.github.com/repos/score-spec/score-compose/releases/latest | jq -r .tag_name)
wget https://github.com/score-spec/score-compose/releases/download/${SCORE_COMPOSE_VERSION}/score-compose_${SCORE_COMPOSE_VERSION}_linux_amd64.tar.gz
tar -xvf score-compose_${SCORE_COMPOSE_VERSION}_linux_amd64.tar.gz
sudo chmod +x score-compose
sudo mv score-compose /usr/local/bin
rm score-compose_${SCORE_COMPOSE_VERSION}_linux_amd64.tar.gz
rm LICENSE
rm README.md
#!/bin/bash
SCORE_HELM_VERSION=$(curl -sL https://api.github.com/repos/score-spec/score-helm/releases/latest | jq -r .tag_name)
wget https://github.com/score-spec/score-helm/releases/download/${SCORE_HELM_VERSION}/score-helm_${SCORE_HELM_VERSION}_linux_amd64.tar.gz
tar -xvf score-helm_${SCORE_HELM_VERSION}_linux_amd64.tar.gz
sudo chmod +x score-helm
sudo mv score-helm /usr/local/bin
rm score-helm_${SCORE_HELM_VERSION}_linux_amd64.tar.gz
rm LICENSE
rm README.md
#!/bin/bash
SCORE_HUMANITEC_VERSION=$(curl -sL https://api.github.com/repos/score-spec/score-humanitec/releases/latest | jq -r .tag_name)
wget https://github.com/score-spec/score-humanitec/releases/download/${SCORE_HUMANITEC_VERSION}/score-humanitec_${SCORE_HUMANITEC_VERSION}_linux_amd64.tar.gz
tar -xvf score-humanitec_${SCORE_HUMANITEC_VERSION}_linux_amd64.tar.gz
sudo chmod +x score-humanitec
sudo mv score-humanitec /usr/local/bin
rm score-humanitec_${SCORE_HUMANITEC_VERSION}_linux_amd64.tar.gz
rm LICENSE
rm README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment