mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-24 07:16:19 +00:00
a605c72859
* Sanitize again. * Adding sanitize json function. * Using serialize instead.
16 lines
282 B
Bash
Executable file
16 lines
282 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
new_tag="$1"
|
|
|
|
# Old deploy
|
|
# 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
|