X-Git-Url: http://these/git/?a=blobdiff_plain;f=deploy.sh;h=e919779a57b6b4b86c2056c4c088f8376176add8;hb=HEAD;hp=58d1d7fb9c796b19f9bd7bc9dddc2c0112e1977e;hpb=2d9baaea96f793d5fe6dfaf3cbd57a7f65d3b42f;p=lemmy-ui.git diff --git a/deploy.sh b/deploy.sh index 58d1d7f..e919779 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,10 +1,16 @@ #!/bin/bash +set -e new_tag="$1" # Old deploy -# sudo docker build . --tag dessalines/lemmy-ui:$new_tag +# 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