Skip to content

Commit

Permalink
Merge pull request #9 from VATGER-Nav/revert-8-dev
Browse files Browse the repository at this point in the history
Revert "Auto Renaming"
  • Loading branch information
hannesaltmann authored Feb 13, 2025
2 parents d6cfa93 + 1568386 commit d8d3a7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- dev
paths:
- 'EDWW AUTO ATIS.json'

Expand All @@ -31,5 +30,5 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add "EDWW AUTO ATIS.json"
git commit -m "Update Serial & Name"
git commit -m "Update Serial"
git push
3 changes: 0 additions & 3 deletions .github/workflows/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ def main():
new_serial = int(today) * 100 + 1

data["updateSerial"] = new_serial
data["name"] = f"EDWW ATIS {datetime.now().strftime('%d %b %Y')}"

with open(file_path, "w") as f:
json.dump(data, f, indent=4)

print(f"Updated Serial to {new_serial}")
print(f"Updated Name to {data['name']}")

if __name__ == "__main__":
main()
2 changes: 1 addition & 1 deletion EDWW AUTO ATIS.json
Original file line number Diff line number Diff line change
Expand Up @@ -20432,7 +20432,7 @@
"name": "EDWW ATIS 13 Feb 2025",
"id": "0f60728d-87e0-4aea-addb-f3c8ebbf3ac7",
"updateUrl": "https://raw.githubusercontent.com/VATGER-Nav/edww-vatis/refs/heads/main/EDWW%20AUTO%20ATIS.json",
"updateSerial": 2025021303,
"updateSerial": 2025021301,
"stations": [
{
"id": "3bbcc80d-7137-41e8-a527-8f2ae8b4c590",
Expand Down

0 comments on commit d8d3a7c

Please sign in to comment.