Skip to content

Commit

Permalink
Fix version regex in makefile
Browse files Browse the repository at this point in the history
* Fix version regex in makefile
  • Loading branch information
mtomko authored Feb 22, 2024
1 parent a751d76 commit 5727164
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,6 +1,6 @@
fullversion := $(shell grep -m 1 'ThisBuild / version :=' ./version.sbt | perl -pe 's/^ThisBuild \/ version := "([0-9]+\.[0-9]+\.[0-9]+).*$$/$$1/g')

version := $(shell grep -m 1 'ThisBuild / version :=' ./version.sbt | perl -pe 's/^ThisBuild \/ version := "([0-9]+\.[0-9+]).*$$/$$1/g')
version := $(shell grep -m 1 'ThisBuild / version :=' ./version.sbt | perl -pe 's/^ThisBuild \/ version := "([0-9]+\.[0-9]+).*$$/$$1/g')

.phony: print-version print-fullversion
print-version:
Expand Down

0 comments on commit 5727164

Please sign in to comment.