lemmy-ui/deploy.sh

16 lines
259 B
Bash
Raw Normal View History

2020-09-10 19:49:33 +00:00
#!/bin/bash
2021-04-21 11:57:42 +00:00
set -e
2020-09-10 19:49:33 +00:00
new_tag="$1"
2021-01-13 14:39:10 +00:00
# Old deploy
# sudo docker build . --tag dessalines/lemmy-ui:$new_tag
# sudo docker push dessalines/lemmy-ui:$new_tag
2020-09-10 19:49:33 +00:00
# Upgrade version
yarn version --new-version $new_tag
git push
2020-09-10 19:49:33 +00:00
git tag $new_tag
git push origin $new_tag