Skip to content

Commit

Permalink
Merge branch 'master' into fix-m1-on-old-tg-version
Browse files Browse the repository at this point in the history
  • Loading branch information
Elia Bracci committed Dec 20, 2022
2 parents c5c07c1 + 90ac973 commit 10ab247
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ End of functions from https://github.com/client9/shlib
EOF

PROJECT_NAME="tgswitch"
OWNER=warrensbox
OWNER=EliaBracciSumo
REPO="tgswitch"
BINARY=tgswitch
FORMAT=tar.gz
Expand Down
2 changes: 1 addition & 1 deletion lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func Install(tgversion string, usrBinPath string, mirrorURL string) string {
/* rename unzipped file to terragrunt version name - terraform_x.x.x */
RenameFile(downloadedFile, installFileVersionPath)

err := os.Chmod(installFileVersionPath, 0755)
err = os.Chmod(installFileVersionPath, 0755)
if err != nil {
log.Println(err)
}
Expand Down
2 changes: 2 additions & 0 deletions test-tgswitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,5 @@ runtestdir "tgswitchrc" "test_tgswitchrc" "v0.33.0"
runtestdir ".toml" "test_tgswitchtoml" "v0.34.0"
runtestenv "env variable" "0.37.1" "v0.37.1"
runtestarg "passing argument" "0.36.1" "v0.36.1"
# M1 darwin arm64 test
runtestarg "passing argument" "0.28.0" "v0.28.0"

0 comments on commit 10ab247

Please sign in to comment.