Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ else
GORELEASER_ID = $(FLAVOR)
endif

VERSION := $(shell git describe --always)
# Use GORELEASER_CURRENT_TAG if set (from GitHub Actions), otherwise derive from git
VERSION ?= $(or $(GORELEASER_CURRENT_TAG),$(shell git describe --tags --always 2>/dev/null || echo "0.0.0-dev"))

# Tooling versions
GORELEASER_VERSION=v2.12.0
Expand Down
3 changes: 3 additions & 0 deletions cloudsmith.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

# Upload Platform.sh packages
cloudsmith push deb platformsh/cli/any-distro/any-version dist/platformsh-cli_${VERSION}_linux_arm64.deb
cloudsmith push deb platformsh/cli/any-distro/any-version dist/platformsh-cli_${VERSION}_linux_amd64.deb
Expand Down
Loading