Remove GetOffloadInfo() (#32)

* Remove GetOffloadInfo()
* Remove GetOffloadInfo() from bind_windows as well
* Allow lightweight tags to be used in the version
This commit is contained in:
Iurii Egorov 2024-05-24 18:18:23 +03:00 committed by GitHub
parent 87d8c00f86
commit 2e7780471a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 15 deletions

View file

@ -9,7 +9,7 @@ MAKEFLAGS += --no-print-directory
generate-version-and-build:
@export GIT_CEILING_DIRECTORIES="$(realpath $(CURDIR)/..)" && \
tag="$$(git describe --dirty 2>/dev/null)" && \
tag="$$(git describe --tags --dirty 2>/dev/null)" && \
ver="$$(printf 'package main\n\nconst Version = "%s"\n' "$$tag")" && \
[ "$$(cat version.go 2>/dev/null)" != "$$ver" ] && \
echo "$$ver" > version.go && \