diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3a76b6d..7cf7a70 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -66,6 +66,32 @@ release: github: owner: platformsh name: cli + footer: | + * * * + **Legacy CLI release Notes**: https://github.com/platformsh/legacy-cli/releases/v{{ .Tag }} + **Full Legacy CLI changelog**: https://github.com/platformsh/legacy-cli/compare/v{{ .PreviousTag }}...v{{ .Tag }} + * * * + ## Upgrade + + Upgrade using the same tool you used for installing the CLI: + + ### HomeBrew + + ```console + brew update && brew upgrade platformsh-cli + ``` + + ### Scoop + + ```console + scoop update platform + ``` + + ### Bash installer + + ```console + curl -fsSL https://raw.githubusercontent.com/platformsh/cli/main/installer.sh | bash + ``` archives: - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" diff --git a/Makefile b/Makefile index 1fa129b..e7cf8c7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PHP_VERSION = 8.0.28 -PSH_VERSION = 4.2.1 +PSH_VERSION = 4.3.0 GOOS := $(shell uname -s | tr '[:upper:]' '[:lower:]') ifeq ($(GOOS), darwin) GORELEASER_ID=platform-macos diff --git a/README.md b/README.md index dba164f..d186cf4 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Upgrade using the same tool: ### HomeBrew ```console -brew upgrade platformsh-cli +brew update && brew upgrade platformsh-cli ``` ### Scoop @@ -80,6 +80,12 @@ brew upgrade platformsh-cli scoop update platform ``` +### Bash installer + +```console +curl -fsSL https://raw.githubusercontent.com/platformsh/cli/main/installer.sh | bash +``` + ## Under the hood The New Platform.sh CLI is built with backwards compatibility in mind. This is why we've embedded PHP, so that all Legacy PHP CLI commands can be executed in the exact same way, making sure that nothing breaks when you switch to it.