Skip to content

Commit

Permalink
feat: release 1.8.1 #31
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls committed Oct 9, 2024
1 parent 9bdf23f commit 72b2370
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app_desc.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spec_version: 2
app_version: "1.8.0"
app_version: "1.8.1"
app:
region: default
bk_app_code: &APP_CODE bk_flow_engine
Expand Down
10 changes: 4 additions & 6 deletions scripts/start_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ RELEASE_VERSION=$1
C_OS="$(uname)"
MAC_OS="Darwin"

ver=$(grep 'app_version:' app_desc_ce.yaml | cut -c 14-)
ver=$(grep 'app_version:' app_desc.yaml | cut -c 14-)
echo "current version: ${ver}"

# version num replace
if [ "$C_OS" == "$MAC_OS" ];then
echo "app_version: \"${ver}\""
sed -i.bak "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc_ce.yaml
sed -i.bak "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc_sg.yaml
rm app_desc_ce.yaml.bak app_desc_sg.yaml.bak
sed -i.bak "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc.yaml
rm app_desc.yaml.bak
else
sed -i "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc_ce.yaml
sed -i "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc_sg.yaml
sed -i "s/app_version: ${ver}/app_version: \"${RELEASE_VERSION}\"/" app_desc.yaml
fi

0 comments on commit 72b2370

Please sign in to comment.