Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 4 lines (3 sloc) 160 Bytes
#!/bin/bash
# use git-describe's commit index as the minor version
ant -f package-release.xml -Dpackage.version="$(git describe|sed 's/-\([0-9]\)\+-g/.\1-/g')"