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: eval "$(curl -fsSL https://s.defang.io/install)"
run: eval "$(curl -fsSL 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: eval "$(curl -fsSL https://s.defang.io/install)"
run: eval "$(curl -fsSL 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:
```
eval "$(curl -fsSL https://s.defang.io/install)"
eval "$(curl -fsSL s.defang.io/install)"
```

* Using [Go](https://go.dev):
Expand Down
20 changes: 10 additions & 10 deletions src/bin/install
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
################################################################################################
# #
# This script installs the latest release of defang from GitHub. It is designed #
# to be run like this: #
# #
# eval "$(curl -fsSL https://s.defang.io/install)" #
# #
# This allows us to do some interactive stuff where we can prompt the user for input. #
# #
################################################################################################
#######################################################################################
# #
# This script installs the latest release of defang from GitHub. It is designed #
# to be run like this: #
# #
# eval "$(curl -fsSL s.defang.io/install)" #
# #
# This allows us to do some interactive stuff where we can prompt the user for input. #
# #
#######################################################################################

echo "\
__ ____
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(`eval "$(curl -fsSL https://s.defang.io/install)"`)
printInstructions(`eval "$(curl -fsSL s.defang.io/install)"`)

return nil
}
Expand Down
Loading