Skip to content

Commit

Permalink
Merge pull request #144 from LemmyNet/main
Browse files Browse the repository at this point in the history
[pull] master from LemmyNet:main
  • Loading branch information
pull[bot] authored Jun 8, 2024
2 parents c1b4963 + b2a480f commit dcdb375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion scripts/postgres_15_to_16_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "Removing the old postgres folder"
sudo rm -rf volumes/postgres

echo "Updating docker compose to use postgres version 16."
sudo sed -i "s/image: .*postgres:.*/image: docker.io/postgres:16-alpine/" ./docker-compose.yml
sudo sed -i "s/image: .*postgres:.*/image: docker.io\/postgres:16-alpine/" ./docker-compose.yml

echo "Starting up new postgres..."
sudo docker compose up -d postgres
Expand Down
10 changes: 1 addition & 9 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ third_semver=$(echo $new_tag | cut -d "." -f 3)
CWD="$(cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd -P)"
cd $CWD/../

# The ansible and docker installs should only update for non release-candidates
# The docker installs should only update for non release-candidates
# IE, when the third semver is a number, not '2-rc'
if [ ! -z "${third_semver##*[!0-9]*}" ]; then
pushd docker
Expand All @@ -20,14 +20,6 @@ if [ ! -z "${third_semver##*[!0-9]*}" ]; then
git add docker-compose.yml
git add federation/docker-compose.yml
popd

# Setting the version for Ansible
pushd ../lemmy-ansible
echo $new_tag > "VERSION"
git add "VERSION"
git commit -m"Updating VERSION"
git push
popd
fi

# Update crate versions
Expand Down

0 comments on commit dcdb375

Please sign in to comment.