Skip to content

Commit

Permalink
chore: update version number
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Dec 26, 2024
1 parent b259f72 commit 1f7ad6f
Show file tree
Hide file tree
Showing 120 changed files with 217 additions and 248 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/build_linux_ubuntu1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,37 +120,3 @@ jobs:
ten_packages/extension/default_extension_python \
ten_packages/extension/default_async_extension_python \
ten_packages/extension/py_init_extension_cpp
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ASSET_PATH: out/linux/x64/ten_packages-linux-ubuntu1804-x64-gcc-${{ matrix.build_type }}.zip
ASSET_NAME: ten_packages-linux-ubuntu1804-x64-gcc-${{ matrix.build_type }}.zip
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
echo "Tag: $TAG_NAME"
# Get the release information
response=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/$TAG_NAME)
# Check if the release was found
if echo "$response" | grep -q '"id":'; then
echo "Release found."
else
echo "Release not found. Exiting."
exit 1
fi
# Extract upload_url
upload_url=$(echo "$response" | jq -r .upload_url | sed -e "s/{?name,label}//")
echo "Upload URL: $upload_url"
# Upload the asset
curl -s -H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/zip" \
--data-binary @"$ASSET_PATH" \
"$upload_url?name=$ASSET_NAME"
echo "Asset uploaded successfully."
2 changes: 1 addition & 1 deletion core/src/ten_manager/src/version.rs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pub const VERSION: &str = "0.5.1";
pub const VERSION: &str = "0.6.0";
4 changes: 2 additions & 2 deletions core/src/ten_runtime/binding/go/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "system",
"name": "ten_runtime_go",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
2 changes: 1 addition & 1 deletion core/src/ten_runtime/binding/nodejs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
4 changes: 2 additions & 2 deletions core/src/ten_runtime/binding/python/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
2 changes: 1 addition & 1 deletion core/src/ten_runtime/build_template/preserved_metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
#include "include_internal/ten_runtime/common/preserved_metadata.h"

static char metadata[] = "version=0.5.1";
static char metadata[] = "version=0.6.0";

void ten_preserved_metadata(void) {
((char volatile *)metadata)[0] = metadata[0];
Expand Down
2 changes: 1 addition & 1 deletion core/src/ten_runtime/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [],
"package": {
"include": [
Expand Down
1 change: 1 addition & 0 deletions core/src/ten_rust/src/pkg_info/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use crate::pkg_info::manifest::{dependency::ManifestDependency, Manifest};

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct PkgDependency {
#[serde(flatten)]
pub type_and_name: PkgTypeAndName,

// The version requirement of this dependency, ex: the `version`
Expand Down
2 changes: 2 additions & 0 deletions core/src/ten_rust/src/pkg_info/pkg_basic_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ use super::{
// package.
#[derive(Clone, Debug, Eq, Serialize, Deserialize)]
pub struct PkgBasicInfo {
#[serde(flatten)]
pub type_and_name: PkgTypeAndName,

pub version: Version,

// Since the declaration 'does not support all environments' has no
Expand Down
4 changes: 2 additions & 2 deletions packages/core_apps/default_app_cpp/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "app",
"name": "default_app_cpp",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
4 changes: 2 additions & 2 deletions packages/core_apps/default_app_cpp/manifest.json.tent
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "app",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
6 changes: 3 additions & 3 deletions packages/core_apps/default_app_go/manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"type": "app",
"name": "default_app_go",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
},
{
"type": "system",
"name": "ten_runtime_go",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
6 changes: 3 additions & 3 deletions packages/core_apps/default_app_go/manifest.json.tent
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"type": "app",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
},
{
"type": "system",
"name": "ten_runtime_go",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
6 changes: 3 additions & 3 deletions packages/core_apps/default_app_python/manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"type": "app",
"name": "default_app_python",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
},
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
6 changes: 3 additions & 3 deletions packages/core_apps/default_app_python/manifest.json.tent
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"type": "app",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
},
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "default_async_extension_python",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core_extensions/default_extension_cpp/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "default_extension_cpp",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "{{package_name}}_extension_cpp",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core_extensions/default_extension_go/manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "default_extension_go",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_go",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_go",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "default_extension_python",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"type": "extension",
"name": "{{package_name}}",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
],
"package": {
Expand Down
6 changes: 3 additions & 3 deletions packages/core_extensions/py_init_extension_cpp/manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"type": "extension",
"name": "py_init_extension_cpp",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": [
{
"type": "system",
"name": "ten_runtime",
"version": "0.5.1"
"version": "0.6.0"
},
{
"type": "system",
"name": "ten_runtime_python",
"version": "0.5.1"
"version": "0.6.0"
}
],
"api": {}
Expand Down
2 changes: 1 addition & 1 deletion packages/core_protocols/msgpack/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "protocol",
"name": "msgpack",
"version": "0.5.1",
"version": "0.6.0",
"dependencies": []
}
Loading

0 comments on commit 1f7ad6f

Please sign in to comment.