Skip to content

Commit

Permalink
Bump Platform.sh version to 4.2.1 (#50)
Browse files Browse the repository at this point in the history
Also, force download the new phar version
  • Loading branch information
akalipetis authored Mar 10, 2023
1 parent 03f0b1f commit ad26786
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PHP_VERSION = 8.0.28
PSH_VERSION = 4.2.0
PSH_VERSION = 4.2.1
GOOS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
ifeq ($(GOOS), darwin)
GORELEASER_ID=platform-macos
Expand Down Expand Up @@ -45,11 +45,14 @@ legacy/archives/cacert.pem:

php: $(PHP_BINARY_PATH)

single: legacy/archives/platform.phar php
single: clean-phar legacy/archives/platform.phar php
PHP_VERSION=$(PHP_VERSION) PSH_VERSION=$(PSH_VERSION) goreleaser build --single-target --id=$(GORELEASER_ID) --snapshot --rm-dist

snapshot: legacy/archives/platform.phar php
snapshot: clean-phar legacy/archives/platform.phar php
PHP_VERSION=$(PHP_VERSION) PSH_VERSION=$(PSH_VERSION) goreleaser build --snapshot --rm-dist

release: legacy/archives/platform.phar php
clean-phar:
rm -f legacy/archives/platform.phar

release: clean-phar legacy/archives/platform.phar php
PHP_VERSION=$(PHP_VERSION) PSH_VERSION=$(PSH_VERSION) goreleaser release --rm-dist --auto-snapshot

0 comments on commit ad26786

Please sign in to comment.