Skip to content

Commit

Permalink
Merge pull request oposs#28 from zaucker/DateYear
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker authored Aug 2, 2022
2 parents c0073b4 + 3e70e52 commit 691bdfd
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ source-watch: node_modules

build: ../public/.built

YEAR := $(shell date +%Y)
DATE := $(shell date +%Y-%m-%d)

dist-hook:
$(PERL) -i -p -e 's/#VERSION#/$(PACKAGE_VERSION)/g;s/#YEAR#/$(YEAR)/g;s/#DATE#/$(DATE)/g;' $(distdir)/../public/$(QX_CLASS)/*.js

Expand Down

0 comments on commit 691bdfd

Please sign in to comment.