Skip to content

Commit

Permalink
chore: bump kcl 0.5.0 artifact (#604)
Browse files Browse the repository at this point in the history
* ci: add upload-artifact action all platforms.

* chore: bump kcl version to v0.5.0

* chore: read version string from file.
  • Loading branch information
Peefy committed Jul 12, 2023
1 parent dfea7d1 commit e2bbbd3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/macos_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ jobs:
working-directory: ./kclvm
run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/usr/local/opt/llvm@12/bin && make install-rustc-wasm && make && make test-konfig
shell: bash

- uses: actions/upload-artifact@v3
with:
name: kcl-darwin-amd64
path: _build/dist/Darwin/kclvm
5 changes: 5 additions & 0 deletions .github/workflows/ubuntu_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./kclvm/.kclvm/lcov.info

- uses: actions/upload-artifact@v3
with:
name: kcl-linux-amd64
path: _build/dist/ubuntu/kclvm
2 changes: 1 addition & 1 deletion .github/workflows/windows_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:

- uses: actions/upload-artifact@v3
with:
name: kclvm-windows
name: kcl-windows
path: scripts/build-windows/_output/kclvm-windows
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0-beta.1
0.5.0
2 changes: 1 addition & 1 deletion kclvm/version/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2021 The KCL Authors. All rights reserved.

pub const VERSION: &str = "0.5.0-beta.1";
pub const VERSION: &str = include_str!("./../../../VERSION");
pub const CHECK_SUM: &str = "20ab3eb4b9179219d6837a57f5d35286";

/// Get kCL full version string with the format `{version}-{check_sum}`.
Expand Down

0 comments on commit e2bbbd3

Please sign in to comment.