Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

steps:
- name: Install defang (latest)
run: . <(curl -Ls https://s.defang.io/install)
run: eval "$(curl -Ls https://s.defang.io/install)"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # avoid rate limiting

- name: Sanity check
run: defang --version

- name: Install defang (specific version)
run: . <(curl -Ls https://s.defang.io/install)
run: eval "$(curl -Ls https://s.defang.io/install)"
env:
DEFANG_INSTALL_VERSION: v0.5.36
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # alt name
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Install the Defang CLI from one of the following sources:

* Using a shell script:
```
. <(curl -Ls https://s.defang.io/install)
eval "$(curl -Ls https://s.defang.io/install)"
```

* Using [Go](https://go.dev):
Expand Down
2 changes: 1 addition & 1 deletion src/bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This script installs the latest release of defang from GitHub. It is designed #
# to be run like this: #
# #
# . <(curl -Ls https://s.defang.io/install) #
# eval "$(curl -Ls https://s.defang.io/install)" #
# #
# This allows us to do some interactive stuff where we can prompt the user for input. #
# #
Expand Down
2 changes: 1 addition & 1 deletion src/pkg/cli/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Upgrade(ctx context.Context) error {
}

// Default to the shell script
printInstructions(`. <(curl -Ls https://s.defang.io/install)`)
printInstructions(`eval "$(curl -Ls https://s.defang.io/install)"`)

return nil
}
Expand Down
Loading