mirror of
https://github.com/meshtastic/firmware.git
synced 2025-05-11 07:39:10 +00:00
Merge branch 'master' into store-and-forward
This commit is contained in:
commit
45ff66e713
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
.pio
|
||||
.pio_core
|
||||
pio
|
||||
|
||||
# ignore vscode IDE settings files
|
||||
|
@ -1,6 +1,7 @@
|
||||
import configparser
|
||||
import subprocess
|
||||
|
||||
import os
|
||||
run_number = os.getenv('GITHUB_RUN_NUMBER', '0')
|
||||
|
||||
def readProps(prefsLoc):
|
||||
"""Read the version of our project as a string"""
|
||||
@ -29,12 +30,12 @@ def readProps(prefsLoc):
|
||||
# # short for 'dirty', we want to keep our verstrings source for protobuf reasons
|
||||
# suffix = sha + "-d"
|
||||
verObj["long"] = "{}.{}".format(verObj["short"], suffix)
|
||||
verObj["deb"] = "{}-ppa{}".format(verObj["short"], sha)
|
||||
verObj["deb"] = "{}-{}~ppa{}".format(verObj["short"], run_number, sha)
|
||||
except:
|
||||
# print("Unexpected error:", sys.exc_info()[0])
|
||||
# traceback.print_exc()
|
||||
verObj["long"] = verObj["short"]
|
||||
verObj["deb"] = "{}-ppa".format(verObj["short"])
|
||||
verObj["deb"] = "{}-{}~ppa".format(verObj["short"], run_number)
|
||||
|
||||
# print("firmware version " + verStr)
|
||||
return verObj
|
||||
|
3
debian/ci_pack_sdeb.sh
vendored
3
debian/ci_pack_sdeb.sh
vendored
@ -1,7 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
export DEBEMAIL="github-actions[bot]@users.noreply.github.com"
|
||||
export DEBEMAIL="jbennett@incomsystems.biz"
|
||||
export PLATFORMIO_LIBDEPS_DIR=pio/libdeps
|
||||
export PLATFORMIO_PACKAGES_DIR=pio/packages
|
||||
export PLATFORMIO_CORE_DIR=pio/core
|
||||
|
||||
# Download libraries to `libdeps`
|
||||
platformio pkg install -e native
|
||||
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -7,6 +7,7 @@
|
||||
|
||||
# https://docs.platformio.org/en/latest/envvars.html
|
||||
PIO_ENV:=\
|
||||
PLATFORMIO_CORE_DIR=pio/core \
|
||||
PLATFORMIO_LIBDEPS_DIR=pio/libdeps \
|
||||
PLATFORMIO_PACKAGES_DIR=pio/packages
|
||||
|
||||
|
3
debian/source/include-binaries
vendored
3
debian/source/include-binaries
vendored
@ -1,2 +1,3 @@
|
||||
pio/libdeps
|
||||
pio/packages
|
||||
pio/packages
|
||||
pio/core
|
2
debian/source/options
vendored
2
debian/source/options
vendored
@ -1 +1 @@
|
||||
extend-diff-ignore = "\.pio"
|
||||
extend-diff-ignore = "\.pio\w*?$"
|
Loading…
Reference in New Issue
Block a user