Skip to content

Commit

Permalink
Makefile: fix plugin version regex
Browse files Browse the repository at this point in the history
  • Loading branch information
d3cryptofc committed Aug 2, 2024
1 parent abb16d2 commit 443a449
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 @@ -10,7 +10,7 @@ command=\n\033[0;37;40m $$

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

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

0 comments on commit 443a449

Please sign in to comment.