mirror of
https://github.com/kk7ds/chirp
synced 2026-08-13 17:51:36 -04:00
Add CHIRP_VERSION to chirp module and update it whenever doing a build
This commit is contained in:
parent
2865a409b9
commit
494310eef5
3 changed files with 5 additions and 0 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue