Skip to content

Commit b11cd8f

Browse files
authored
Fetch unannotated tag versions
Resolves issue when release the license list XML where the version was not getting picked up in the release process
1 parent 99d1aed commit b11cd8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LICENSE_DATA_REPO_NO_SCHEME = github.com/spdx/license-list-data.git
88
LICENSE_DATA_REPO = https://$(LICENSE_DATA_REPO_NO_SCHEME)
99
LICENSE_DATA_URL = https://$(LICENSE_LIST_GITHUB_TOKEN)@$(LICENSE_DATA_REPO_NO_SCHEME)
1010
LICENSE_OUTPUT_DIR = .tmp
11-
GITVERSION = $(shell git describe --always || echo 'UNKNOWN')
11+
GITVERSION = $(shell git describe --always --tags || echo 'UNKNOWN')
1212
# Remove leading 'v' or 'V'
1313
VERSION = $(subst V,,$(subst v,,$(GITVERSION)))
1414
RELEASE_DATE = $(shell date '+%Y-%m-%d')

0 commit comments

Comments
 (0)