Andreas Stenius 8 лет назад
Родитель
Сommit
187ef06806
2 измененных файлов с 26 добавлено и 0 удалено
  1. 14 0
      Makefile
  2. 12 0
      NEWS.md

+ 14 - 0
Makefile

@@ -71,3 +71,17 @@ shell:
 # this file must exist for rebar eunit to work
 # but is only built when running rebar compile
 src/erlydtl_parser.erl: compile
+
+committed:
+	@git diff --no-ext-diff --quiet --exit-code || { echo "there are uncommitted changes in the repo." ; false ;}
+
+release: committed check
+	@{														    \
+		V1=$$(grep vsn src/erlydtl.app.src | sed -e 's/.*vsn,.*"\(.*\)".*/\1/')					 && \
+		read -e -p "OK, all tests passed, current version is $$V1, which version should we release now? " V2	 && \
+		echo "$$V2 it is..."											 && \
+		sed -i -e 's/vsn,.*}/vsn, "'$$V2'"}/' src/erlydtl.app.src						 && \
+		echo git ci -m "release v$$V2" src/erlydtl.app.src							 && \
+		echo git tag $$V2											 && \
+		echo 'Updated src/erlydtl.app.src and tagged, run `git push master --tags` when ready'                      \
+	;}

+ 12 - 0
NEWS.md

@@ -4,6 +4,18 @@ This file records noteworthy changes and additions to erlydtl as
 suggested by the [GNU Coding
 Standards](http://www.gnu.org/prep/standards/html_node/NEWS-File.html#NEWS-File).
 
+
+## 0.12.0 (2016-08-08)
+
+* #230 Use phash2/1 explicitly. It's not in compat layer
+
+* #240 custom tags parameters parsing not handling newlines
+
+* #242 Support for 19
+
+* #246 make the 'join' filter work with numbers
+
+
 ## 0.11.1 (2015-10-26)
 
 Fix build issues and missed update version info in .app-file.