mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated version information inside tnc
and some changes for our github actions as well...
This commit is contained in:
parent
9ef052bb69
commit
ca9a5140a2
6 changed files with 9 additions and 5 deletions
1
.github/workflows/build-project-linux.yml
vendored
1
.github/workflows/build-project-linux.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/build-project-mac.yml
vendored
1
.github/workflows/build-project-mac.yml
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
3
.github/workflows/build-project-win.yml
vendored
3
.github/workflows/build-project-win.yml
vendored
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue