From edfcb5978b86bde6019da8301d46463244186a67 Mon Sep 17 00:00:00 2001 From: wwsheng009 Date: Sun, 21 Jan 2024 01:41:15 +0800 Subject: [PATCH] update version --- .github/workflows/relaese.yml | 4 ++-- app.sample.yao | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/relaese.yml b/.github/workflows/relaese.yml index 5b327ee..a61b648 100644 --- a/.github/workflows/relaese.yml +++ b/.github/workflows/relaese.yml @@ -8,7 +8,7 @@ on: push: branches: [main] paths: - - "app.sample.json" + - "app.sample.yao" env: VERSION: 1.0.0 @@ -21,7 +21,7 @@ jobs: - name: Get Version run: | - VERSION=$(cat app.sample.json |grep version |awk -F : '{print $2}' | sed 's/"//g' | sed 's/,//g' | sed 's/ //g') + VERSION=$(cat app.sample.yao |grep version |awk -F : '{print $2}' | sed 's/"//g' | sed 's/,//g' | sed 's/ //g') if [ -z "$VERSION" ]; then VERSION=1.0.0 fi diff --git a/app.sample.yao b/app.sample.yao index caa5396..52f39ac 100644 --- a/app.sample.yao +++ b/app.sample.yao @@ -9,7 +9,7 @@ "xgen": "1.0", "short": "::Amis-Yao", "description": "::Amis Yao Admin", - "version": "0.10.4", + "version": "0.10.5", "setup": "studio.setup.run", "startup": "scripts.startup.run", "adminRoot": "admin",