build: only match version tags

This commit is contained in:
Daylin Morgan 2023-09-12 16:03:21 -05:00
parent aabe719300
commit ad33888072
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -13,7 +13,7 @@ requires "nim >= 2.0.0",
import strformat
task release, "build release assets":
version = (gorgeEx "git describe --tags --always").output
version = (gorgeEx "git describe --tags --always --match 'v*'").output
exec &"forge release -v {version} -V"
task bundle, "package build assets":