mirror of https://github.com/Hilbis/Hilbish
fix: remove - in tag
parent
0ba0dead53
commit
6f95ae6564
|
@ -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
|
||||
|
||||
|
|
|
@ -19,5 +19,7 @@ function git_tag_version {
|
|||
if [[ $tag =~ ^v[0-9].* ]]; then
|
||||
tag="${tag:1}"
|
||||
fi
|
||||
|
||||
tag="${tag/"-"/"."}"
|
||||
output "$tag"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue