Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
ci: fix tar command for extracting tools
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgacsal committed Nov 6, 2023
1 parent 8152663 commit eeae282
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions makefile.d/20-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ bin/helm: bin/helm-$(HELM_VERSION)

bin/helm-$(HELM_VERSION): | $(BIN_DIR)
@curl -sSfL 'https://get.helm.sh/helm-v$(HELM_VERSION)-$(OSTYPE)-$(ARCHTYPE).tar.gz' --output - \
| tar xvOf - '$(OSTYPE)-$(ARCHTYPE)/helm' > $@
| tar xzvOf - '$(OSTYPE)-$(ARCHTYPE)/helm' > $@
@chmod +x $@

####
Expand All @@ -155,7 +155,7 @@ bin/helm-docs: bin/helm-docs-$(HELMDOCS_VERSION)

bin/helm-docs-$(HELMDOCS_VERSION): | $(BIN_DIR)
@curl -sSfL 'https://github.com/norwoodj/helm-docs/releases/download/v$(HELMDOCS_VERSION)/helm-docs_$(HELMDOCS_VERSION)_$(HELMDOCS_OSTYPE)_$(HELMDOCS_ARCH).tar.gz' --output - \
| tar xvOf - 'helm-docs' > $@
| tar xzvOf - 'helm-docs' > $@
@chmod +x $@

####
Expand Down Expand Up @@ -186,7 +186,7 @@ bin/git-cliff: bin/git-cliff-$(GITCLIFF_VERSION)

bin/git-cliff-$(GITCLIFF_VERSION): | $(BIN_DIR)
@curl -sSfL 'https://github.com/orhun/git-cliff/releases/download/v$(GITCLIFF_VERSION)/git-cliff-$(GITCLIFF_VERSION)-$(GITCLIFF_ARCH)-$(GITCLIFF_OSTYPE).tar.gz' --output - \
| tar xvOf - 'git-cliff-$(GITCLIFF_VERSION)/git-cliff' > $@
| tar xzvOf - 'git-cliff-$(GITCLIFF_VERSION)/git-cliff' > $@
@chmod +x $@

####
Expand Down Expand Up @@ -217,5 +217,5 @@ bin/typos: bin/typos-$(TYPOS_VERSION)

bin/typos-$(TYPOS_VERSION): | $(BIN_DIR)
@curl -sSfL 'https://github.com/crate-ci/typos/releases/download/v$(TYPOS_VERSION)/typos-v$(TYPOS_VERSION)-$(TYPOS_ARCH)-$(TYPOS_OSTYPE).tar.gz' --output - \
| tar xvOf - './typos' > $@
| tar xzvOf - './typos' > $@
@chmod +x $@

0 comments on commit eeae282

Please sign in to comment.