Add planet version print
This commit is contained in:
parent
4323da2e68
commit
d9628957d7
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue