Skip to content

Commit 443a449

Browse files
committed
Makefile: fix plugin version regex
1 parent abb16d2 commit 443a449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ command=\n\033[0;37;40m $$
1010

1111
# PLUGIN NAME & VERSION
1212
plugin_name=$(shell grep -oP "name:\s*\K\w+" plugin.yml)
13-
plugin_version=$(shell grep -oP "version:\s*\K[A-Za-z0-9\.]+" plugin.yml)
13+
plugin_version=$(shell grep -oP "^version:\s*\K[A-Za-z0-9\.]+" plugin.yml)
1414

1515
# JARFILE BUILD OUTPUT
1616
jarfile_output=dist/$(plugin_name)-$(plugin_version).jar

0 commit comments

Comments
 (0)