Skip to content

Commit

Permalink
Merge branch 'main' of github.com:HTTPArchive/almanac.httparchive.org…
Browse files Browse the repository at this point in the history
… into production
  • Loading branch information
tunetheweb committed Sep 27, 2020
2 parents f0dbb16 + bfbfc71 commit 917c8da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/server/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Language(object):
ES = _Language('Español', 'es')
FR = _Language('Français', 'fr')
JA = _Language('日本語', 'ja')
PT = _Language('Portuguese', 'pt')
PT = _Language('Português', 'pt')
ZH_CN = _Language('简体中文', 'zh-CN')


Expand Down
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 917c8da

Please sign in to comment.