Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bata committed Feb 10, 2021
1 parent 1bbfb0e commit 7c925c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ jobs:
GOPATH: /home/runner/work/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export CREATE_EVENT_REF_TYPE=$(jq --raw-output .ref_type "$GITHUB_EVENT_PATH")
export TAGNAME=$(jq --raw-output .ref "$GITHUB_EVENT_PATH")
echo "========================================================="
echo "DEBUG:" $TAGNAME $CREATE_EVENT_REF_TYPE
echo "DEBUG:" $TAGNAME
echo "========================================================="
if [ "$CREATE_EVENT_REF_TYPE" != "tag" ]; then echo "ref_type is not a tag: ${CREATE_EVENT_REF_TYPE}" && exit 78; fi
make cross
echo "========================================================="
echo "DEBUG: ls pkg/"
Expand Down

0 comments on commit 7c925c9

Please sign in to comment.