lemmy-ui/deploy.sh
2021-09-14 19:13:13 -04:00

16 lines
259 B
Bash
Executable file

#!/bin/bash
set -e
new_tag="$1"
# Old deploy
# sudo docker build . --tag dessalines/lemmy-ui:$new_tag
# sudo docker push dessalines/lemmy-ui:$new_tag
# Upgrade version
yarn version --new-version $new_tag
git push
git tag $new_tag
git push origin $new_tag