Fix PREV_VERSION variable in Makefile - again (#1628)

Note to self: stop multi-tasking
This commit is contained in:
Hao Liu
2023-11-08 15:06:17 -05:00
committed by GitHub
parent a69ca7f8b5
commit 3a5fbb0b06

View File

@@ -4,7 +4,7 @@
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= $(shell git describe --tags)
PREV_VERSION ?= $(shell git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1))
PREV_VERSION ?= $(shell git describe --abbrev=0 --tags $(shell git rev-list --tags --skip=1 --max-count=1))
CONTAINER_CMD ?= docker