diff options
| author | Alon Levy <alon@pobox.com> | 2015-04-06 16:39:31 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-04-06 16:40:05 +0300 |
| commit | 002e8ac29f7f75cbddbf758b2982cff1e2d0d555 (patch) | |
| tree | 80d7ae1e3156f80b8a9b63510363d2cb203a754e /build.ant | |
| parent | 08a628d247ef109acb7c60e20f81473ec630eed7 (diff) | |
build.ant: add version-tag, visible from user as RZ_VERSION (global)
Diffstat (limited to 'build.ant')
| -rw-r--r-- | build.ant | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -62,8 +62,15 @@ </delete> </target> + <target name="version-tag"> + <exec dir="${basedir}" executable="/usr/bin/git" output="res/templates/fragment/version.txt"> + <arg line="describe" /> + </exec> + + </target> + <target name="deploy-local" - depends="deploy-local.clean" + depends="deploy-local.clean,version-tag" description="locally deploy webapp"> <!-- [!] trailing '/' on rsync src targets critical --> |
