mirror of
https://pagure.io/fedora-kickstarts.git
synced 2025-12-08 16:10:29 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2be322d626 |
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
||||
# Get the version name first by seeing if HEAD is tagged
|
||||
version := $(shell git tag --points-at HEAD -l '0.*.*' | head -1)
|
||||
version := $(shell git tag --points-at HEAD -l '0.*.*' | sort -r | head -1)
|
||||
# And if it wasn't use a git hash
|
||||
ifeq ($(version),)
|
||||
version := $(shell git log -1 --abbrev=8 --pretty=git%h)
|
||||
|
||||
Reference in New Issue
Block a user