Skip to content

Commit

Permalink
Fix build-deb to get current revision
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 22, 2013
1 parent 02927f3 commit 93e8b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-deb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

DATE=$(date -R)
BZR_RV=$(awk {'print $1'} ./.bzr/branch/last-revision)
GIT_RV=$(git rev-list HEAD | wc -l)
INEX_VERSION=$(grep "Version=" src/i-nex/.project | cut -d "=" -f 2)
DATE_Y_M_D=$(date +%Y%m%d)

echo "i-nex ($INEX_VERSION-0~$BZR_RV~$DATE_Y_M_D) unstable; urgency=low
echo "i-nex ($INEX_VERSION-0~git$GIT_RV~$DATE_Y_M_D) unstable; urgency=low
* next unstable
Expand Down

0 comments on commit 93e8b43

Please sign in to comment.