Skip to content

Commit 1619582

Browse files
authored
Bump to 0.36.0 (#87)
1 parent c125514 commit 1619582

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.36.0

download-wasmtime.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,24 @@
1313

1414
def main(platform, arch):
1515
is_zip = False
16+
with open("VERSION", "r") as fh:
17+
version = fh.read().strip()
1618
if arch == 'AMD64':
1719
arch = 'x86_64'
1820
if platform == 'linux':
19-
filename = 'wasmtime-dev-{}-linux-c-api.tar.xz'.format(arch)
21+
filename = 'wasmtime-v{}-{}-linux-c-api.tar.xz'.format(version, arch)
2022
libname = '_libwasmtime.so'
2123
elif platform == 'win32':
22-
filename = 'wasmtime-dev-{}-windows-c-api.zip'.format(arch)
24+
filename = 'wasmtime-v{}-{}-windows-c-api.zip'.format(version, arch)
2325
is_zip = True
2426
libname = '_wasmtime.dll'
2527
elif platform == 'darwin':
26-
filename = 'wasmtime-dev-{}-macos-c-api.tar.xz'.format(arch)
28+
filename = 'wasmtime-v{}-{}-macos-c-api.tar.xz'.format(version, arch)
2729
libname = '_libwasmtime.dylib'
2830
else:
2931
raise RuntimeError("unknown platform: " + sys.platform)
3032

31-
url = 'https://github.com/bytecodealliance/wasmtime/releases/download/dev/'
33+
url = 'https://github.com/bytecodealliance/wasmtime/releases/download/v{}/'.format(version)
3234
url += filename
3335
print('Download', url)
3436
dirname = '{}-{}'.format(platform, arch)

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
with open("README.md", "r") as fh:
77
long_description = fh.read()
88

9-
version = "0.35.0"
9+
with open("VERSION", "r") as fh:
10+
version = fh.read().strip()
1011

1112
# Give unique version numbers to all commits so our publication-on-each commit
1213
# works on main

0 commit comments

Comments
 (0)