diff --git a/packages/platformsh.rb b/packages/platformsh.rb index 91863da73..15cd87e21 100644 --- a/packages/platformsh.rb +++ b/packages/platformsh.rb @@ -3,11 +3,11 @@ require 'package' class Platformsh < Package description 'The unified tool for managing your Platform.sh services from the command line.' homepage 'https://docs.platform.sh/overview/cli.html' - version '5.5.0' + version '5.6.0' license 'MIT' compatibility 'aarch64 armv7l x86_64' source_url "https://github.com/platformsh/cli/releases/download/#{version}/platform_#{version}_linux_amd64.tar.gz" - source_sha256 'ed6523905f2ef00bc2153d4cb4d8d8408de3966a00066984532838a5cb42ac6a' + source_sha256 'c5c3fac9c030a478a9fa69871b01f29be6be00de1f6cbb1e349d8a3a68b5f2b8' depends_on 'php83' unless File.exist? "#{CREW_PREFIX}/bin/php" @@ -21,6 +21,10 @@ class Platformsh < Package FileUtils.install 'completion/bash/upsun.bash', "#{CREW_DEST_PREFIX}/etc/bash.d/upsun.bash", mode: 0o644 end + def self.postinstall + ExitMessage.add "\nType 'platform -h' to get started.\n" + end + def self.postremove Package.agree_to_remove("#{HOME}/.platformsh") end