Skip to content

Commit

Permalink
fix branch match issue (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
metrue authored Oct 10, 2019
1 parent ddff53f commit 536b757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ jobs:
echo "workflow is running on branch ${GITHUB_REF}"
if [[ ${GITHUB_REF} == "master" ]];then
if [[ ${GITHUB_REF} == "refs/heads/production" ]];then
version=${version}-alpha.${commit}
echo "alpha release $version"
elif [[ "${GITHUB_REF}" == *--auto-release ]];then
version=${version}-alpha.${commit}
echo "alpha release $version"
elif [[ ${GITHUB_REF} == "production" ]];then
elif [[ ${GITHUB_REF} == "refs/heads/production" ]];then
echo "official release $version"
else
echo "skip release on $GITHUB_REF"
Expand Down

0 comments on commit 536b757

Please sign in to comment.