Skip to content

Commit

Permalink
VERSION_NUMBER can be overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed May 19, 2023
1 parent c59a135 commit a76445d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .debpkg/DEBIAN/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Version: !THE_VERSION!
Maintainer: Florian Thienel/DL3NEY <[email protected]>
Homepage: https://github.com/ftl/hellocontest
Bugs: https://github.com/ftl/hellocontest/issues
Description: Hello Contest is a simple HF contest log for Linux.
Description: A simple HF contest logger for Linux.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
BINARY_NAME = hellocontest
VERSION_NUMBER=$(shell git describe --tags | sed -E 's#v##')
AUR_VERSION_NUMBER=$(shell git describe --tags | sed -E 's#v##' | sed -E 's#-#_#g')
VERSION_NUMBER ?= $(shell git describe --tags | sed -E 's#v##')

DESTDIR ?=
BINDIR ?= /usr/bin
Expand All @@ -21,9 +20,6 @@ generate:
version_number:
@echo ${VERSION_NUMBER}

aur_version_number:
@echo ${AUR_VERSION_NUMBER}

test:
go test -v -timeout=30s ./...

Expand Down

0 comments on commit a76445d

Please sign in to comment.