Skip to content

Commit

Permalink
Remove GitHuc CLI from Release Script (#1324)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Sep 27, 2020
1 parent a130093 commit 201b7ea
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/tools/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,10 @@ git checkout main
echo
echo -e "${GREEN}Successfully deployed!${RESET_COLOR}"
echo

if [[ $(which gh) ]]; then
gh release create "${TAG_VERSION}@production" deployed.zip -t "${TAG_VERSION}"
echo "Release updated on GitHub"
else
echo -e "${AMBER}GitHub cli is not available${RESET_COLOR}"
echo -e "${AMBER}Please update release on GitHub: https://github.com/HTTPArchive/almanac.httparchive.org/releases${RESET_COLOR}"
echo -e "${AMBER}Using tag ${TAG_VERSION}@production${RESET_COLOR}"
echo -e "${AMBER}Please upload deploy.zip as the release artifact${RESET_COLOR}"
echo
fi

echo -e "${AMBER}Please update release on GitHub: https://github.com/HTTPArchive/almanac.httparchive.org/releases${RESET_COLOR}"
echo -e "${AMBER}Using tag ${TAG_VERSION}@production${RESET_COLOR}"
echo -e "${AMBER}Please upload deploy.zip as the release artifact${RESET_COLOR}"
echo
echo "Have a good one!"
echo
exit 0

0 comments on commit 201b7ea

Please sign in to comment.