diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 65eb1c1..d68aac7 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.0.0-dev +current_version = 1.0.0 parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>\w+))? tag = False commit = True @@ -9,9 +9,11 @@ serialize = [bumpversion:part:release] values = - dev + dev RC optional_value = RC [bumpversion:file:.travis.yml] + [bumpversion:file:Makefile] + diff --git a/.travis.yml b/.travis.yml index b759ac7..f06e67e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,9 +10,9 @@ before_script: script: - make travis after_success: - - cp handbook-1.0.0-dev.pdf latest.pdf - - cp handbook-1.0.0-dev.html latest.html - - travis-custom-deploy sftp handbook-1.0.0-dev.pdf handbook-1.0.0-dev.html latest.pdf latest.html + - cp handbook-1.0.0.pdf latest.pdf + - cp handbook-1.0.0.html latest.html + - travis-custom-deploy sftp handbook-1.0.0.pdf handbook-1.0.0.html latest.pdf latest.html notification: email: on_success: never diff --git a/Makefile b/Makefile index 1ae1666..fd195fe 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,23 @@ MARKDOWN=$(filter-out README.md,$(wildcard *.md)) default: handbook.pdf handbook.html -travis: handbook-1.0.0-dev.html handbook-1.0.0-dev.pdf +travis: handbook-1.0.0.html handbook-1.0.0.pdf .PHONY: dependencies dependencies: git submodule update --init -handbook-1.0.0-dev.html: $(MARKDOWN) dependencies +handbook-1.0.0.html: $(MARKDOWN) dependencies pandoc -f markdown -t html --css=markdown-css-themes/avenir-white.css \ --standalone --self-contained $(MARKDOWN) -o $@ -handbook.html: handbook-1.0.0-dev.html +handbook.html: handbook-1.0.0.html cp $< $@ -handbook-1.0.0-dev.pdf: $(MARKDOWN) +handbook-1.0.0.pdf: $(MARKDOWN) pandoc --standalone -f markdown -t latex $(MARKDOWN) -o $@ -handbook.pdf: handbook-1.0.0-dev.pdf +handbook.pdf: handbook-1.0.0.pdf cp $< $@ clean: