Skip to content

Commit 2cfb104

Browse files
authored
Merge pull request #3 from looztra/fix/update-gh-coordinates
fix: update git repo coordinates
2 parents 1ca1ad5 + 89d5b51 commit 2cfb104

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bin/install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ get_filename() {
5555
echo "${binary_name}-${version}-${platform}"
5656
}
5757

58-
# https://github.com/segmentio/terraform-docs/releases/download/v0.6.0/terraform-docs-v0.6.0-linux-amd64
58+
# https://github.com/terraform-docs/terraform-docs/releases/download/v0.6.0/terraform-docs-v0.6.0-linux-amd64
5959

6060
get_download_url() {
6161
local version="$1"
@@ -64,7 +64,7 @@ get_download_url() {
6464
local filename
6565
filename="$(get_filename "$version" "$platform" "$binary_name")"
6666

67-
echo "https://github.com/segmentio/terraform-docs/releases/download/${version}/${filename}"
67+
echo "https://github.com/terraform-docs/terraform-docs/releases/download/${version}/${filename}"
6868
}
6969

7070
tmp_download_dir="$(mktemp -d -t 'asdf_XXXXXXXX')"

bin/list-all

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env bash
22

3-
github_coordinates=segmentio/terraform-docs
3+
github_coordinates=terraform-docs/terraform-docs
44
releases_path="https://api.github.com/repos/${github_coordinates}/releases"
5-
cmd="curl -s"
5+
cmd="curl -sL"
66
if [ -n "$GITHUB_API_TOKEN" ]; then
77
cmd="$cmd -H 'Authorization: token $GITHUB_API_TOKEN'"
88
fi

0 commit comments

Comments
 (0)