Skip to content

Commit 1bb2891

Browse files
committed
Build latest version
1 parent 321d6c4 commit 1bb2891

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN apt-get update \
2727
zlib1g-dev
2828

2929
ARG OVERPASS_VERSION
30-
ADD http://dev.overpass-api.de/releases/osm-3s_v${OVERPASS_VERSION}.tar.gz /app/src.tar.gz
30+
ADD http://dev.overpass-api.de/releases/osm-3s_${OVERPASS_VERSION}.tar.gz /app/src.tar.gz
3131

3232
RUN mkdir -p /app/src \
3333
&& cd /app/src \

update.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44

55
url = "http://dev.overpass-api.de/releases/"
66
skip_prefixes = (
7-
'atest',
8-
'0.6', 'eta', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.50', '0.7.52',
9-
'0.7.54.11', # invalid CRC in archive
10-
'0.7.51', # no autoconf
7+
'v0.6', 'beta', 'v0.7.1', 'v0.7.2', 'v0.7.3', 'v0.7.4', 'v0.7.50', 'v0.7.52',
8+
'v0.7.54.11', # invalid CRC in archive
9+
'v0.7.51', # no autoconf
1110
)
1211

1312

@@ -23,7 +22,7 @@ def handle_starttag(self, tag, attrs):
2322
if attrs:
2423
href = dict(attrs).get('href')
2524
if tag == 'a' and href and href.startswith('osm-3s'):
26-
version = href[len('osm-3s_v'):-len('.tar.gz')]
25+
version = href[len('osm-3s_'):-len('.tar.gz')]
2726
self.versions.append(version)
2827

2928

@@ -35,7 +34,7 @@ def versions_to_build():
3534

3635
return [
3736
version for version in parser.versions
38-
if version != '0.7'
37+
if version != 'v0.7'
3938
and not any(version.startswith(skip_prefix) for skip_prefix in skip_prefixes)
4039
]
4140

0 commit comments

Comments
 (0)