Skip to content

Commit b56588e

Browse files
committed
fix: handle getting right version
1 parent 3912dab commit b56588e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
TEST_DIR = tests
55
DOCKER_REPO = registry.supercroy.com/updrytwist
66
DOCKER_PROJ = dlink-dschs150-hass
7-
VERSION = $(shell poetry version | cut -d' ' -f2)
7+
VERSION = $(shell poetry version | rev | cut -d' ' -f1 | rev)
88
BUILD_DOCKER ?= false
99

1010
# Before working on something, run make bump-version-<major|minor|patch>

0 commit comments

Comments
 (0)