Skip to content

Commit

Permalink
push不创建release
Browse files Browse the repository at this point in the history
  • Loading branch information
AoEiuV020 committed Jan 1, 2025
1 parent 08799f0 commit 6204a8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
num=${num%/merge}
BUILD_VERSION=pr-${num}-"$(date +'%Y%m%d%H%M%S')"
else
CREATE_RELEASE="true"
echo PRE_RELEASE="true" >> .custom_env
CREATE_RELEASE="false"
BUILD_VERSION="$(date +'%Y%m%d%H%M%S')"
RELEASE_BODY=$(echo '${{ toJson(github.event.commits) }}' |jq -r 'map("### "+.message)|join("\n\n------\n")')
TG_CHANGELOG="$(echo "$RELEASE_BODY"|sed -n "s/### \(.*\)/\1/p" |sed -n '{;=;p}' | sed "N;s/\n/. /g")"
Expand Down

0 comments on commit 6204a8e

Please sign in to comment.