Skip to content

Commit

Permalink
Add year and day of year to RPM versions
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Jul 21, 2022
1 parent 66c595b commit d22d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ICONSRC:=$(DEBDIR)/ckan.ico
CONFIGURATION?=Release
EXESRC:=$(shell pwd)/../_build/repack/$(CONFIGURATION)/ckan.exe
CHANGELOGSRC:=../CHANGELOG.md
VERSION:=$(shell egrep '^\s*\#\#\s+v.*$$' $(CHANGELOGSRC) | head -1 | sed -e 's/^\s*\#\#\s\+v//' -e 's/-/_/g' )
VERSION:=$(shell egrep '^\s*\#\#\s+v.*$$' $(CHANGELOGSRC) | head -1 | sed -e 's/^\s*\#\#\s\+v//' -e 's/-/_/g' ).$(shell date +'%g%j')
RPM:=$(TOPDIR)/RPMS/noarch/ckan-$(VERSION)-1.noarch.rpm

CREATEREPO:=$(if $(shell which createrepo),createrepo,createrepo_c)
Expand Down

0 comments on commit d22d617

Please sign in to comment.