Skip to content

Commit 4c24d53

Browse files
authored
docs: Fix links to install.sh (#432)
* docs: Fix links to `install.sh` Fix links to `install.sh` after moving from `release` to `master` branch as main branch fixes #431 * Switch code highlighting from odd `ruby` to correct `shell` type
1 parent e8d0167 commit 4c24d53

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See the [release page](https://github.com/warrensbox/terraform-switcher/releases
3737

3838
For macOS or various Linux distributions, Homebrew offers the simplest installation process. <a href="https://brew.sh/" target="_blank">If you do not have homebrew installed, click here</a>.
3939

40-
```ruby
40+
```shell
4141
brew install warrensbox/tap/tfswitch
4242
```
4343

@@ -46,7 +46,7 @@ brew install warrensbox/tap/tfswitch
4646
Installation for Linux operating systems.
4747

4848
```sh
49-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash
49+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash
5050
```
5151

5252
## Arch User Repository (AUR) packages for Arch Linux

www/docs/Continuous-Integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#!/bin/bash
66

77
echo "Installing tfswitch locally"
8-
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh #Get the installer on to your machine
8+
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh #Get the installer on to your machine
99

1010
chmod 755 install.sh #Make installer executable
1111

@@ -48,7 +48,7 @@ jobs:
4848
4949
echo "Installing tfswitch locally"
5050
51-
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh #Get the installer on to your machine
51+
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh #Get the installer on to your machine
5252
5353
chmod 755 install.sh #Make installer executable
5454

www/docs/Installation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ See the [release page](https://github.com/warrensbox/terraform-switcher/releases
99
## Homebrew
1010
Installation for macOS is the easiest with Homebrew. <a href="https://brew.sh/" target="_blank">If you do not have homebrew installed, click here</a>.
1111

12-
```ruby
12+
```shell
1313
brew install warrensbox/tap/tfswitch
1414
```
1515

1616
## Linux
1717
Installation for Linux operating systems.
1818

1919
```sh
20-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash
20+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash
2121
```
2222

2323
By default installer script will try to download `tfswitch` binary into `/usr/local/bin`
2424
To install at custom path use below:
2525
```sh
26-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash -s -- -b $HOME/.local/bin
26+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash -s -- -b $HOME/.local/bin
2727
```
2828

2929
By default installer script will try to download latest version of `tfswitch` binary
3030
To install custom (not latest) version use:
3131
```sh
32-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash -s -- 1.1.1
32+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash -s -- 1.1.1
3333
```
3434

3535
Both options can be combined though:
3636
```sh
37-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash -s -- -b $HOME/.local/bin 1.1.1
37+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash -s -- -b $HOME/.local/bin 1.1.1
3838
```
3939

4040
## Arch User Repository (AUR) packages for Arch Linux

www/docs/Troubleshoot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Solution: You probably need to have privileges to install *tfswitch* at /usr/loc
2121
Try the following:
2222
2323
```sh
24-
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh #Get the installer on to your machine:
24+
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh #Get the installer on to your machine:
2525
2626
chmod 755 install.sh #Make installer executable
2727

www/docs/Upgrade-or-Uninstall.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
### Homebrew
44

5-
```ruby
5+
```shell
66
brew upgrade warrensbox/tap/tfswitch
77
```
88
### Linux
99

1010
Rerun:
1111

1212
```sh
13-
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash
13+
curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/master/install.sh | bash
1414
```
1515

1616
## Uninstall:
1717

1818
### Homebrew
1919

20-
```ruby
20+
```shell
2121
brew uninstall warrensbox/tap/tfswitch
2222
```
2323
### Linux

www/docs/usage/config-files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ This is similiar to using a .tfswitchrc file, but you can specify a custom binar
4848
4. Optionally, you can create a `.tfswitch.toml` file in your terraform directory(current directory) OR in your home directory(~/.tfswitch.toml). The toml file in the current directory has a higher precedence than toml file in the home directory
4949
5. Your `.tfswitch.toml` file should look like this:
5050

51-
```ruby
51+
```toml
5252
bin = "$HOME/bin/terraform"
5353
version = "0.11.3"
5454
```
@@ -69,7 +69,7 @@ bin = "C:\\Users\\<%USRNAME%>\\bin\\terraform.exe"
6969
If a terragrunt.hcl file with the terraform constraint is included in the current directory, it should automatically download or switch to that terraform version.
7070
For example, the following should automatically switch terraform to the lastest version 0.13:
7171

72-
```ruby
72+
```hcl
7373
terragrunt_version_constraint = ">= 0.26, < 0.27"
7474
terraform_version_constraint = ">= 0.13, < 0.14"
7575
...

0 commit comments

Comments
 (0)