Skip to content

Commit

Permalink
Fix GCB/CTAN version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ogheorghies committed Feb 2, 2019
1 parent 7066eb6 commit 19d34de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

_UID=$(shell id -u)
TAG_NAME := $(or $(TAG_NAME),$(shell git describe --tags | rev | cut -f3- -d- | rev ))
TAG_NAME := $(TAG_NAME:v%=%)
TAG_NAME_NO_V := $(TAG_NAME:v%=%)
REVISION_ID := $(or $(REVISION_ID),$(shell git describe --tags | rev | cut -f-2 -d- | rev))
METAUML_RELEASE_DATE := $(shell date "+%B %d, %Y")

Expand All @@ -16,7 +16,7 @@ release:
mkdir dist/build/doc
mkdir dist/build/examples
mkdir dist/build/inputs
sed -e 's/METAUML_RELEASE_VERSION/$(TAG_NAME)/' -e 's/METAUML_RELEASE_DATE/$(METAUML_RELEASE_DATE)/' ctan/README >dist/build/README
sed -e 's/METAUML_RELEASE_VERSION/$(TAG_NAME_NO_V)/' -e 's/METAUML_RELEASE_DATE/$(METAUML_RELEASE_DATE)/' ctan/README >dist/build/README
cp manual/metauml-manual.pdf dist/build/doc/metauml-manual-$(TAG_NAME)-$(REVISION_ID).pdf
cp src/*.mp dist/build/inputs
cp -r manual dist/build/examples/
Expand Down

0 comments on commit 19d34de

Please sign in to comment.