X-Git-Url: http://these/git/?a=blobdiff_plain;f=deploy.sh;h=e919779a57b6b4b86c2056c4c088f8376176add8;hb=b7ec7ae3110c560968e0cb24a32f1fe9166eec29;hp=9d50a481a81ae8a4bf3dc76e74d48d68d1ade63a;hpb=1f4f912efa14222c81978adf4fa324d4c5b53798;p=lemmy-ui.git diff --git a/deploy.sh b/deploy.sh index 9d50a48..e919779 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,9 +1,16 @@ #!/bin/bash +set -e new_tag="$1" -sudo docker build . --tag dessalines/lemmy-isomorphic-ui:$new_tag -sudo docker push dessalines/lemmy-isomorphic-ui:$new_tag +# Old deploy +# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64 --push +# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64 +# 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