Skip to content

Commit

Permalink
fetch version from github (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Körtge <[email protected]>
  • Loading branch information
n1ckl0sk0rtge authored Sep 23, 2024
1 parent 71a8796 commit 9f2d39b
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
@@ -1,5 +1,5 @@
# extract cbomkit version tag from pom.xml
VERSION := $(shell mvn help:evaluate -Dexpression=project.version | grep -e '^[^\[]')
VERSION := $(shell curl -s https://api.github.com/repos/IBM/cbomkit/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
# build the backend
build-backend: dev
./mvnw clean package
Expand Down

0 comments on commit 9f2d39b

Please sign in to comment.