update build.yml

pull/28/head
fengyuecanzhu 2 years ago
parent a7bf7c9759
commit eee08f71f1
No known key found for this signature in database
GPG Key ID: 04B78AD06A9D6E6C
  1. 2
      .github/workflows/build.yml

@ -64,7 +64,7 @@ jobs:
run: |
echo "上传APP至蓝奏云"
tag_name=${{ steps.config.outputs.version_name }}
if [[ ${{ steps.config.outputs.need_create_release }} != 'true' ]];then
if [ ${{ steps.config.outputs.need_create_release }} != 'true' -o ${{ github.ref }} != 'refs/heads/master' ];then
gitHead=$(git rev-parse --short HEAD)
tag_name=${{ steps.config.outputs.version_name }}-$gitHead
fi

Loading…
Cancel
Save