server migration
This commit is contained in:
parent
f8aab05cb7
commit
b192264dbf
1 changed files with 7 additions and 7 deletions
14
release.sh
14
release.sh
|
|
@ -24,18 +24,18 @@ fi
|
||||||
set +e
|
set +e
|
||||||
sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml
|
sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml
|
||||||
|
|
||||||
git add pyproject.toml
|
#git add pyproject.toml
|
||||||
git commit -m "Bump to ${VERSION}"
|
#git commit -m "Bump to ${VERSION}"
|
||||||
git push origin main
|
#git push origin main
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Clean caches etc
|
# Clean caches etc
|
||||||
filedust -y .
|
#filedust -y .
|
||||||
|
|
||||||
# Publish to Pypi
|
# Publish to Pypi
|
||||||
poetry build
|
#poetry build
|
||||||
poetry publish
|
#poetry publish
|
||||||
|
|
||||||
# Make AppImage
|
# Make AppImage
|
||||||
sudo apt-get -y install libfuse-dev
|
sudo apt-get -y install libfuse-dev
|
||||||
|
|
@ -100,4 +100,4 @@ rsync -aHPvz --exclude=.git --delete "$REPO_ROOT/" "$REMOTE/"
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
|
||||||
ssh wolverine.mig5.net "echo ${VERSION} | tee /opt/www/mig5.net/bouquin/version.txt"
|
ssh lupin.mig5.net "echo ${VERSION} | tee /opt/www/mig5.net/bouquin/version.txt"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue