updated version information inside tnc

and some changes for our github actions as well...
This commit is contained in:
dj2ls 2022-02-23 08:12:24 +01:00
parent 9ef052bb69
commit ca9a5140a2
6 changed files with 9 additions and 5 deletions

View file

@ -99,6 +99,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip
- name: Copy TNC to GUI Linux

View file

@ -87,6 +87,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/compressed/${{ matrix.zip_name }}.zip

View file

@ -70,7 +70,7 @@ jobs:
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: 'FreeDATA_windows.zip'
filename: '${{ matrix.zip_name }}.zip'
directory: ./tnc/dist/tnc
path: .
#exclusions: '*.git* /*node_modules/* .editorconfig'
@ -85,6 +85,7 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
draft: true
files: ./tnc/dist/tnc/${{ matrix.zip_name }}.zip

View file

@ -304,7 +304,7 @@ if __name__ == '__main__':
os.makedirs(logging_path)
log_handler.setup_logging(logging_path)
except:
structlog.get_logger("structlog").error("[TNC] logger init error")
structlog.get_logger("structlog").error("[DMN] logger init error")
try:
structlog.get_logger("structlog").info("[DMN] Starting TCP/IP socket", port=static.DAEMONPORT)
@ -321,5 +321,6 @@ if __name__ == '__main__':
daemon = DAEMON()
structlog.get_logger("structlog").info("[DMN] Starting FreeDATA Daemon", author="DJ2LS", year="2022", version=static.VERSION)
while True:
time.sleep(1)

View file

@ -108,7 +108,7 @@ if __name__ == '__main__':
structlog.get_logger("structlog").info("[TNC] Starting FreeDATA", author="DJ2LS", year="2022", version="0.1")
structlog.get_logger("structlog").info("[TNC] Starting FreeDATA", author="DJ2LS", year="2022", version=static.VERSION)
# start data handler
data_handler.DATA()

View file

@ -5,10 +5,10 @@ Created on Wed Dec 23 11:13:57 2020
@author: DJ2LS
Here we are saving application wide variables and stats, which have to be accessed everywhere.
Not nice, tipps are appreciated :-)
Not nice, suggestions are appreciated :-)
"""
VERSION = '0.1'
VERSION = '0.0.1-alpha'
# DAEMON
DAEMONPORT = 3001