Skip to content

Commit 8b5c280

Browse files
QuentinBrossejerome-quere
authored andcommitted
fix: update version bucket link (#539)
fix: update version file link
1 parent ca971ca commit 8b5c280

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ profile.out
1212
.DS_STORE
1313
.vendor
1414
/.vscode
15+
/.idea
1516

1617
# Vim Swapfiles
1718
[._]*.s[a-v][a-z]

MAINTAINERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ There is a Archlinux community package (aka. "AUR" — Archlinux User Repositor
5050

5151
### Update VERSION file
5252

53-
From time to time, scaleway-cli makes a HTTP query to https://fr-1.storage.online.net/scaleway/scaleway-cli/VERSION to check if it is at the latest version available. This file needs to be updated.
53+
From time to time, scaleway-cli makes a HTTP query to `https://scw-devtools.s3.nl-ams.scw.cloud/scw-cli-version` to check if it is at the latest version available. This file needs to be updated.
5454

5555
**PLEASE WAIT UNTIL THE HOMEBREW PULL REQUEST IS ACCEPTED BEFORE UPDATING THE VERSION FILE.**
5656

@@ -59,7 +59,7 @@ From time to time, scaleway-cli makes a HTTP query to https://fr-1.storage.onlin
5959
$> echo '42.8' > VERSION
6060
$> s3cmd put VERSION s3://scaleway/scaleway-cli/VERSION --acl-public
6161
# Ensure it's at the latest version
62-
$> curl https://fr-1.storage.online.net/scaleway/scaleway-cli/VERSION
62+
$> curl https://scw-devtools.s3.nl-ams.scw.cloud/scw-cli-version
6363
# Should display "42.8".
6464
```
6565

pkg/cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func checkVersion() {
200200
req := http.Client{
201201
Timeout: 1 * time.Second,
202202
}
203-
resp, err := req.Get("https://fr-1.storage.online.net/scaleway/scaleway-cli/VERSION")
203+
resp, err := req.Get("https://scw-devtools.s3.nl-ams.scw.cloud/scw-cli-version")
204204
if resp != nil {
205205
defer resp.Body.Close()
206206
}

0 commit comments

Comments
 (0)