Skip to content

Commit

Permalink
fix: fix release_note.sh (#423)
Browse files Browse the repository at this point in the history
Co-authored-by: guoweiming <[email protected]>
  • Loading branch information
CMZSrost and guoweiming authored Apr 4, 2024
1 parent c7287af commit 65ef73c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions python/scripts/release_note.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/bash

declare QF_GITHUB_TOKEN=
declare REPO=
declare OLD_TAG=

function curl_json() { # curl获取github数据,json格式
target=$1
json_path=$2
Expand Down Expand Up @@ -76,10 +72,10 @@ function get_tag() {
#####main
###################

if [[ -z "$QF_GITHUB_TOKEN" || -z "$REPO" ]]; then
echo "QF_GITHUB_TOKEN or REPO is empty"
exit 1
fi
#if [[ -z "$QF_GITHUB_TOKEN" || -z "$REPO" ]]; then
# echo "QF_GITHUB_TOKEN or REPO is empty"
# exit 1
#fi
if [ -z "$1" ] ; then
echo "Usage: $0 language"
echo "example: $0 js"
Expand Down

0 comments on commit 65ef73c

Please sign in to comment.