Skip to content

Commit

Permalink
Refined version number generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelbua committed Aug 15, 2012
1 parent e307d10 commit dec886f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postprocessing/package-release
@@ -1,4 +1,4 @@
#!/bin/bash

ant -f package-release.xml -Dpackage.version="$(git describe)"

# 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')"

0 comments on commit dec886f

Please sign in to comment.