Skip to content

Commit

Permalink
Merge pull request #135 from Peefy/bump-lib-0.10.0-beta.2
Browse files Browse the repository at this point in the history
chore: bump lib 0.10.0-beta.2
  • Loading branch information
Peefy authored Aug 22, 2024
2 parents 7d68ec8 + 3b01bb5 commit 86a86e9
Show file tree
Hide file tree
Showing 52 changed files with 69 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
run: |
cd dotnet/KclLib/bin/Release
dotnet nuget push KclLib.0.10.0-beta.1.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push KclLib.0.10.0-beta.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lang"
version = "0.10.0-beta.1"
version = "0.10.0-beta.2"
edition = "2021"
readme = "README.md"
documentation = "kcl-lang.io"
Expand All @@ -11,4 +11,4 @@ license = "Apache-2.0"

[dependencies]
anyhow = "1"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.1-SNAPSHOT</version>
<version>0.10.0-beta.2-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -187,7 +187,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.1-SNAPSHOT</version>
<version>0.10.0-beta.2-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -221,7 +221,7 @@ For CMake, you can use FetchContent to add KCL C++ Lib to your project.
FetchContent_Declare(
kcl-lib
GIT_REPOSITORY https://github.com/kcl-lang/lib.git
GIT_TAG v0.10.0-beta.1
GIT_TAG v0.10.0-beta.2
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand Down
4 changes: 2 additions & 2 deletions c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lib-c"
version = "0.10.0-beta.1"
version = "0.10.0-beta.2"
edition = "2021"
publish = false

Expand All @@ -12,4 +12,4 @@ doc = false
cbindgen = "0.26.0"

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
4 changes: 2 additions & 2 deletions cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "kcl-lib-cpp"
publish = false
edition = "2021"
version = "0.10.0-beta.1"
version = "0.10.0-beta.2"

[lib]
crate-type = ["staticlib"]

[dependencies]
anyhow = "1.0"
cxx = "1.0"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }

[build-dependencies]
cxx-build = "1.0"
4 changes: 2 additions & 2 deletions cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can use FetchContent to add KCL C++ Lib to your project.
FetchContent_Declare(
kcl-lib
GIT_REPOSITORY https://github.com/kcl-lang/lib.git
GIT_TAG v0.10.0-beta.1
GIT_TAG v0.10.0-beta.2
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand All @@ -24,7 +24,7 @@ Or you can download the source code and add it to your project.
mkdir third_party
cd third_party
git clone https://github.com/kcl-lang/lib.git
git checkout v0.10.0-beta.1
git checkout v0.10.0-beta.2
```

```shell
Expand Down
2 changes: 1 addition & 1 deletion dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ crate-type = ["cdylib"]
doc = false

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
2 changes: 1 addition & 1 deletion dotnet/KclLib.Tests/APITest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void TestListVariablesAPI()
var path = Path.Combine(parentDirectory, "test_data", "schema.k");
args.Files.Add(path);
var result = api.ListVariables(args);
Assert.AreEqual("AppConfig {replicas = 2}", result.Variables["app"].Variables[0].Value, result.ToString());
Assert.AreEqual("AppConfig {\n replicas = 2\n}", result.Variables["app"].Variables[0].Value, result.ToString());
}

[TestMethod]
Expand Down
1 change: 0 additions & 1 deletion dotnet/KclLib.Tests/test_data/override_file/main.bak
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
a = 1

b = {
"a": 1
"b": 2
Expand Down
2 changes: 1 addition & 1 deletion dotnet/KclLib/KclLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<AssemblyName>KclLib</AssemblyName>
<PackageId>KclLib</PackageId>
<Version>0.10.0-beta.1</Version>
<Version>0.10.0-beta.2</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryUrl>https://github.com/kcl-lang</RepositoryUrl>
Expand Down
1 change: 0 additions & 1 deletion dotnet/KclLib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ The content of `main.k` is

```python
a = 1

b = {
"a": 1
"b": 2
Expand Down
2 changes: 1 addition & 1 deletion dotnet/examples/exec-program/exec-program.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KclLib" Version="0.10.0-beta.1" />
<PackageReference Include="KclLib" Version="0.10.0-beta.2" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion go/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
lib "kcl-lang.io/lib/go/lib"
)

const KCLVM_VERSION = "v0.10.0-beta.1"
const KCLVM_VERSION = "v0.10.0-beta.2"

func findPath(name string) string {
if path, err := exec.LookPath(name); err == nil {
Expand Down
Loading

0 comments on commit 86a86e9

Please sign in to comment.