Skip to content

Commit

Permalink
Bump package version to preview2. (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhuene authored Aug 11, 2022
1 parent e9cbd14 commit 3d400a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<PropertyGroup>
<DevBuild Condition="'$(DevBuild)'==''">true</DevBuild>
<WasmtimeVersion Condition="'$(WasmtimeVersion)'==''">0.39.1</WasmtimeVersion>
<WasmtimePackageVersion Condition="'$(DevBuild)'=='true'">$(WasmtimeVersion)-preview1-dev</WasmtimePackageVersion>
<WasmtimePackageVersion Condition="'$(WasmtimePackageVersion)'==''">$(WasmtimeVersion)-preview1</WasmtimePackageVersion>
<WasmtimeDotnetVersion Condition="'$(WasmtimeDotnetVersion)'==''">preview2</WasmtimeDotnetVersion>
<WasmtimePackageVersion Condition="'$(DevBuild)'=='true'">$(WasmtimeVersion)-$(WasmtimeDotnetVersion)-dev</WasmtimePackageVersion>
<WasmtimePackageVersion Condition="'$(WasmtimePackageVersion)'==''">$(WasmtimeVersion)-$(WasmtimeDotnetVersion)</WasmtimePackageVersion>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
You can add a package reference with the [.NET SDK](https://dotnet.microsoft.com/):

```text
$ dotnet add package --version 0.39.1-preview1 wasmtime
$ dotnet add package --version 0.39.1-preview2 wasmtime
```

_Note that the `--version` option is required because the package is currently prerelease._
Expand All @@ -54,7 +54,7 @@ $ dotnet new console
Next, add a reference to the [Wasmtime package](https://www.nuget.org/packages/Wasmtime):

```
$ dotnet add package --version 0.39.1-preview1 wasmtime
$ dotnet add package --version 0.39.1-preview2 wasmtime
```

Replace the contents of `Program.cs` with the following code:
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dotnet new console
To use the .NET embedding of Wasmtime from the project, we need to add a reference to the [Wasmtime NuGet package](https://www.nuget.org/packages/Wasmtime):

```text
dotnet add package --version 0.39.1-preview1 wasmtime
dotnet add package --version 0.39.1-preview2 wasmtime
```

_Note that the `--version` option is required because the package is currently prerelease._
Expand Down

0 comments on commit 3d400a0

Please sign in to comment.