mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
Fix PREV_VERSION variable in Makefile - again (#1628)
Note to self: stop multi-tasking
This commit is contained in:
2
Makefile
2
Makefile
@@ -4,7 +4,7 @@
|
|||||||
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
|
# - 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)
|
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
|
||||||
VERSION ?= $(shell git describe --tags)
|
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
|
CONTAINER_CMD ?= docker
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user