Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsheng009 committed Jan 20, 2024
1 parent 01683e4 commit edfcb59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/relaese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
push:
branches: [main]
paths:
- "app.sample.json"
- "app.sample.yao"
env:
VERSION: 1.0.0

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app.sample.yao
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit edfcb59

Please sign in to comment.