Skip to content

Commit

Permalink
Emergency release: fix in version detection - detect version numbers …
Browse files Browse the repository at this point in the history
…with multiple dots in them
  • Loading branch information
andralex committed Jul 10, 2013
1 parent d953338 commit a5ecc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GIT_HOME=https://github.com/D-Programming-Language
ifeq (,${LATEST})
LATEST:=$(shell cd ${DMD_DIR} && \
git fetch --tags https://github.com/D-Programming-Language/dmd && \
git tag | grep '^v[0-9]\.[0-9]*$$' | sed 's/^v//' | sort -nr | head -n 1)
git tag | grep '^v[0-9][0-9.]*$$' | sed 's/^v//' | sort -nr | head -n 1)
endif
ifeq (,${LATEST})
$(error Could not fetch latest version)
Expand Down Expand Up @@ -282,7 +282,7 @@ ${DOC_OUTPUT_DIR}/phobos-prerelease/index.html : std.ddoc \
DOC_OUTPUT_DIR=${DOC_OUTPUT_DIR}/phobos-prerelease html -j 4

phobos-release: ${DOC_OUTPUT_DIR}/phobos/index.html
${DOC_OUTPUT_DIR}/phobos/index.html : std.ddoc \
${DOC_OUTPUT_DIR}/phobos/index.html : std.ddoc ${LATEST}.ddoc \
${DOC_OUTPUT_DIR}/phobos/object.html
[ -d ${PHOBOS_DIR}.${LATEST} ] || \
git clone ${GIT_HOME}/phobos ${PHOBOS_DIR}.${LATEST}/
Expand Down

0 comments on commit a5ecc6b

Please sign in to comment.