Skip to content

Commit

Permalink
site ci: obtain site-version from latest tag
Browse files Browse the repository at this point in the history
Site-version had to be set in the past manually, even when tagging a
release. As this is not done every time, just parse it from the latest
tag on the history relative from the current commit.

This ensures the site- and firmware-version are always determined from
git tags when built from the CI.

Signed-off-by: David Bauer <[email protected]>
(cherry picked from commit ccf6015)
  • Loading branch information
blocktrron committed Jun 11, 2024
1 parent 4b7faed commit 2fe5f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FFDA_SITE_VERSION := 3.0.3
FFDA_SITE_VERSION := $(shell git describe --tags --abbrev=0 | sed 's/-.*//')

DEFAULT_GLUON_RELEASE := $(FFDA_SITE_VERSION)~$(shell date '+%Y%m%d')
DEFAULT_GLUON_PRIORITY := 0
Expand Down

0 comments on commit 2fe5f5e

Please sign in to comment.