Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
PHP_VERSION = 8.4.16

GORELEASER_ID ?= upsun

ifeq ($(GOOS), darwin)
GORELEASER_ID=$(GORELEASER_ID)-macos
endif

GOOS := $(shell uname -s | tr '[:upper:]' '[:lower:]')
GOARCH := $(shell uname -m)
ifeq ($(GOARCH), x86_64)
Expand All @@ -15,6 +9,14 @@ ifeq ($(GOARCH), aarch64)
GOARCH=arm64
endif

FLAVOR ?= upsun

ifeq ($(GOOS), darwin)
GORELEASER_ID = $(FLAVOR)-macos
else
GORELEASER_ID = $(FLAVOR)
endif

VERSION := $(shell git describe --always)

# Tooling versions
Expand Down
Loading