Add CHIRP_VERSION to chirp module and update it whenever doing a build

This commit is contained in:
Dan Smith 2008-10-29 15:31:52 -07:00
parent 2865a409b9
commit 494310eef5
3 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,8 @@ INCLUDE="COPYING"
TMP=$(mktemp -d)
EXCLUDE=""
sed -i 's/^CHIRP_VERSION.*$/CHIRP_VERSION=\"'$VERSION'\"/' chirp/__init__.py
RELDIR=chirp-${VERSION}
DST="${TMP}/${RELDIR}"

View file

@ -35,6 +35,8 @@ grab_builds() {
scp -r "$HOST:$out/*" .
}
sed -i 's/^CHIRP_VERSION.*$/CHIRP_VERSION=\"'$VERSION'\"/' chirp/__init__.py
tmp1=$(temp_dir)
tmp2=$(temp_dir)
copy_source $tmp1

View file

@ -15,3 +15,4 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
CHIRP_VERSION="0.1.7b7"