Add planet version print

This commit is contained in:
Pieter Vander Vennet 2025-06-07 15:20:43 +02:00
parent 4323da2e68
commit d9628957d7

View file

@ -25,4 +25,12 @@ jobs:
- name: Print download date
shell: bash
run: date --iso > /data/planet_download_date.txt
run: date --iso > /data/planet_download_date.txt
- name: Print planet file date
shell: bash
run: |
TIMESTAMP=$(osmium fileinfo /data/planet-latest.osm.pbf -g header.option.timestamp)
DATE=$(echo $TIMESTAMP | sed "s/T.*//")
echo $DATE
echo $DATE /data/planet_version.txt