Skip to content

Commit

Permalink
fetch version from github
Browse files Browse the repository at this point in the history
Signed-off-by: Nicklas Körtge <[email protected]>
  • Loading branch information
n1ckl0sk0rtge committed Sep 23, 2024
1 parent 71a8796 commit 67eb873
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 67eb873

Please sign in to comment.