Skip to content

Commit

Permalink
build: ci fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Dec 7, 2024
1 parent 463bbaa commit b17420f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
required: true
description: Build Type
default: debug
type: choice
options:
- pro
- debug
Expand Down Expand Up @@ -78,8 +79,9 @@ jobs:

- name: build
run: |
# for branch tmp/202*, force notify_lark=true
echo "GIT_REF is $GIT_REF"
echo "build_type is $build_type"
# for branch tmp/202*, force notify_lark=true
if [[ $GIT_REF == refs/heads/tmp/202* ]]; then
export notify_lark=true;
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/autobuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ -z $build_type ]; then
fi

PKG_SLUG="RabbyDebug";
[ $build_type == "pro" ] && PKG_SLUG="Rabby";
[[ $build_type == "pro" ]] && PKG_SLUG="Rabby";

VERSION=$(node --eval="process.stdout.write(require('./package.json').version)");
RABBY_GIT_HASH=$(git rev-parse --short HEAD);
Expand Down

0 comments on commit b17420f

Please sign in to comment.