diff --git a/hilbish.spec b/hilbish.spec index cfe1012..fb9e729 100644 --- a/hilbish.spec +++ b/hilbish.spec @@ -2,12 +2,12 @@ %global debug_package %{nil} Name: hilbish -Version: 2.0.0-rc1 +Version: 2.0.0.rc1 Release: 1%{?dist} Summary: The flower shell. A comfy and nice little shell for Lua fans! License: MIT -Source: https://github.com/Rosettea/Hilbish/archive/refs/tags/v{{{ git_tag_version }}}.tar.gz +Source: https://github.com/Rosettea/Hilbish/archive/refs/tags/v2.0.0-rc1.tar.gz BuildRequires: git golang go-task Requires: inspect succulent lunacolors diff --git a/rpkg.macros b/rpkg.macros index 0e49be8..dbcf187 100644 --- a/rpkg.macros +++ b/rpkg.macros @@ -19,5 +19,7 @@ function git_tag_version { if [[ $tag =~ ^v[0-9].* ]]; then tag="${tag:1}" fi + + tag="${tag/"-"/"."}" output "$tag" }