Skip to content

Commit

Permalink
build: version bump to 1.1.1-0.11.3-rc1 (#122)
Browse files Browse the repository at this point in the history
* build: version bump to 1.1.1-0.11.3-rc1

* fix: fix version test according to semantic versioning

* test: fix a version test

* test: fix a test for version

* build: build libwasmvm

* build: delete wasmvm.dll

---------

Co-authored-by: Daisuke Iuchi <42408108+da1suk8@users.noreply.github.com>
  • Loading branch information
loloicci and da1suk8 authored Aug 24, 2023
1 parent c453df8 commit cb27bb2
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
Binary file modified internal/api/libwasmvm.aarch64.so
Binary file not shown.
Binary file modified internal/api/libwasmvm.dylib
Binary file not shown.
Binary file modified internal/api/libwasmvm.x86_64.so
Binary file not shown.
2 changes: 1 addition & 1 deletion internal/api/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ import (
func TestLibwasmvmVersion(t *testing.T) {
version, err := LibwasmvmVersion()
require.NoError(t, err)
require.Regexp(t, regexp.MustCompile("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(-[a-z0-9.]+)?$"), version)
require.Regexp(t, regexp.MustCompile("^([0-9]+)\\.([0-9]+)\\.([0-9]+)(-[a-z0-9.\\-]+)?$"), version)
}
2 changes: 1 addition & 1 deletion lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,5 @@ func TestGetMetrics(t *testing.T) {
func TestLibwasmvmVersion(t *testing.T) {
version, err := LibwasmvmVersion()
require.NoError(t, err)
require.Equal(t, "1.1.1-0.11.2", version)
require.Equal(t, "1.1.1-0.11.3-rc1", version)
}
2 changes: 1 addition & 1 deletion libwasmvm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libwasmvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmvm"
version = "1.1.1-0.11.2"
version = "1.1.1-0.11.3-rc1"
publish = false
authors = ["Finschia Foundation"]
edition = "2021"
Expand Down
5 changes: 2 additions & 3 deletions libwasmvm/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ mod tests {
"Invalid patch component: '{}'",
components[2]
);
if let Some(prerelease) = parts.next() {
assert!(prerelease
while let Some(prerelease_part) = parts.next() {
assert!(prerelease_part
.chars()
.all(|c| c == '.' || c.is_ascii_alphanumeric()));
}
assert_eq!(parts.next(), None);
}
}

0 comments on commit cb27bb2

Please sign in to comment.