+
Skip to content

build: modify release version script #1201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions utils/fvwm-version-str.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
#
#
# Intended to be called from meson.
set -e

VERSION="released"
RS=".release-status"

[ -d ".git" ] || { echo "$VERSION" && exit 0 ; }

[ -e "./.release-status" ] && source "./.release-status"
. "./$RS"

[ -z "$ISRELEASED" ] && { echo "UNKNOWN" && exit 0 ; }
[ "$ISRELEASED" = "yes" ] && { echo "$VERSION" && exit 0 ; }

git describe --always --long --dirty --tags

if [ "$ISRELEASED" = "yes" ]; then
echo "$VERSION"
else
git describe --always --long --dirty --tags
fi
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载