Skip to content

Commit

Permalink
Merge pull request #135 from jt-edb/merge_3_0_0_master_3
Browse files Browse the repository at this point in the history
Improve version detection
  • Loading branch information
jt-edb authored Jan 25, 2021
2 parents 6eed974 + 09ba21c commit 2009265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# make install

DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
EDB_ANSIBLE_VERSION ?= $(shell cat $(DIR)/VERSION)
EDB_ANSIBLE_VERSION ?= $(shell cat $(DIR)/VERSION | head -n 1)

build:
sed -E 's/version:.*/version: "$(EDB_ANSIBLE_VERSION)"/g' $(DIR)/galaxy.template.yml > $(DIR)/galaxy.yml
Expand Down

0 comments on commit 2009265

Please sign in to comment.