Skip to content

Commit

Permalink
URLs to https
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Mar 29, 2018
1 parent cf76b84 commit de5b7e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package config

var Version = "1.7.0"
var Version = "1.8.0"
2 changes: 1 addition & 1 deletion dists/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ main() {

tmpdir=$(mktemp -d /tmp/scalingo_cli_XXX)
trap "clean_install ${tmpdir}" EXIT
version=$(curl -s http://cli-dl.scalingo.io/version | tr -d ' \t\n')
version=$(curl -s https://cli-dl.scalingo.io/version | tr -d ' \t\n')
dirname="scalingo_${version}_${os}_${arch}"
archive_name="${dirname}.${ext}"
url=https://github.com/Scalingo/cli/releases/download/${version}/${archive_name}
Expand Down
4 changes: 2 additions & 2 deletions update/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

var (
lastVersionURL = "http://cli-dl.scalingo.io/version"
lastVersionURL = "https://cli-dl.scalingo.io/version"
lastVersion = ""
gotLastVersion = make(chan struct{})
gotAnError = false
Expand Down Expand Up @@ -49,7 +49,7 @@ func Check() error {
}

io.Statusf(io.BoldRed("Your Scalingo client (%s) is out-of-date: some features may not work correctly.\n"), version)
io.Infof(io.BoldRed("Please update to '%s' by reinstalling it: http://cli.scalingo.com\n"), lastVersion)
io.Infof(io.BoldRed("Please update to '%s' by reinstalling it: https://cli.scalingo.com\n"), lastVersion)
return nil
}

Expand Down

0 comments on commit de5b7e7

Please sign in to comment.