1 Star 0 Fork 0

hhhhhh / limine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
version.sh 334 Bytes
一键复制 编辑 原始数据 按行查看 历史
#! /bin/sh
LC_ALL=C
export LC_ALL
srcdir="$(dirname "$0")"
test -z "$srcdir" && srcdir=.
cd "$srcdir"
[ -f version ] || ( git describe --exact-match --tags $(git log -n1 --pretty='%h') 2>/dev/null || git log -n1 --pretty='%h' ) | sed 's/^v//g' | xargs printf '%s'
[ -f version ] && ( cat version 2>/dev/null ) | xargs printf '%s'
1
https://gitee.com/input-output/limine.git
git@gitee.com:input-output/limine.git
input-output
limine
limine
stable

搜索帮助