mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 07:36:37 +00:00
140ff8271c
* Switch from yarn to pnpm. * Moving from yarn to pnpm. * Try 2 * Try 3 * Try 4 * Try 5 * Try 6 * Adding qs. * Try corepack. * Remove comment. * Adding prebuild:dev. * Some fixes. * Fixing up husky. * Fixing up version and others.
17 lines
355 B
Bash
Executable file
17 lines
355 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 --push
|
|
# sudo docker build . --tag dessalines/lemmy-ui:$new_tag --platform=linux/amd64
|
|
# sudo docker push dessalines/lemmy-ui:$new_tag
|
|
|
|
# Upgrade version
|
|
pnpm version $new_tag
|
|
git push
|
|
|
|
git tag $new_tag
|
|
git push origin $new_tag
|