ui: Drop xemu branch tracking

This commit is contained in:
Matt Borgerson
2026-01-04 23:04:49 -07:00
committed by mborgerson
parent 3334a76f73
commit e409f7afd9
9 changed files with 6 additions and 19 deletions

View File

@ -89,8 +89,7 @@ for sp in $subprojects; do
done
git rev-parse HEAD 2>/dev/null | tr -d '\n' > XEMU_COMMIT
git symbolic-ref --short HEAD > XEMU_BRANCH
git describe --tags --match 'v*' | cut -c 2- | tr -d '\n' > XEMU_VERSION
tar -r --file "$tar_file" XEMU_COMMIT XEMU_BRANCH XEMU_VERSION
tar -r --file "$tar_file" XEMU_COMMIT XEMU_VERSION
exit 0

View File

@ -11,13 +11,6 @@ XEMU_COMMIT=$( \
elif test -e XEMU_COMMIT; then \
cat XEMU_COMMIT; \
fi)
XEMU_BRANCH=$( \
cd "$dir"; \
if test -e .git; then \
git symbolic-ref --short HEAD || echo $XEMU_COMMIT; \
elif test -e XEMU_BRANCH; then \
cat XEMU_BRANCH; \
fi)
XEMU_VERSION=$( \
cd "$dir"; \
if test -e .git; then \
@ -49,7 +42,6 @@ cat <<EOF
#define XEMU_VERSION_MINOR $XEMU_VERSION_MINOR
#define XEMU_VERSION_PATCH $XEMU_VERSION_PATCH
#define XEMU_VERSION_COMMIT $XEMU_VERSION_COMMIT
#define XEMU_BRANCH "$XEMU_BRANCH"
#define XEMU_COMMIT "$XEMU_COMMIT"
#define XEMU_DATE "$XEMU_DATE"
EOF