Merge pull request #61 from lora-aprs/refactor-github-build

fix wrong cpp file in script
This commit is contained in:
Peter Buchegger 2022-05-13 12:20:37 +02:00 committed by GitHub
commit c1f0e0576e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ current_year = int(str(today.isocalendar()[0])[2:])
current_week = int(today.isocalendar()[1])
version = None
with open("src/LoRa_APRS_iGate.cpp") as f:
with open("src/LoRa_APRS_Tracker.cpp") as f:
for line in f:
if line.startswith("#define VERSION"):
version = line.strip().split(" ")[-1].replace('"', "")