From 6f95ae6564ecc09e33c38fd48ad748b92d9b324b Mon Sep 17 00:00:00 2001 From: sammyette Date: Mon, 19 Dec 2022 21:37:33 -0400 Subject: [PATCH] fix: remove - in tag --- hilbish.spec | 4 ++-- rpkg.macros | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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" }