[[package]]
name = "lemmy_api"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"actix-web",
"anyhow",
[[package]]
name = "lemmy_api_common"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"actix-rt",
"actix-web",
[[package]]
name = "lemmy_api_crud"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"activitypub_federation",
"actix-web",
[[package]]
name = "lemmy_apub"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"activitypub_federation",
"activitystreams-kinds",
[[package]]
name = "lemmy_db_schema"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"activitypub_federation",
"async-trait",
[[package]]
name = "lemmy_db_views"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"diesel",
"diesel-async",
[[package]]
name = "lemmy_db_views_actor"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"diesel",
"diesel-async",
[[package]]
name = "lemmy_db_views_moderator"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"diesel",
"diesel-async",
[[package]]
name = "lemmy_routes"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"actix-web",
"anyhow",
[[package]]
name = "lemmy_server"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"activitypub_federation",
"actix-rt",
[[package]]
name = "lemmy_utils"
-version = "0.16.5"
+version = "0.17.0"
dependencies = [
"actix-web",
"anyhow",
[workspace.package]
-version = "0.16.5"
+version = "0.17.0"
edition = "2021"
description = "A link aggregator for the fediverse"
license = "AGPL-3.0"
]
[workspace.dependencies]
-lemmy_api = { version = "=0.16.5", path = "./crates/api" }
-lemmy_api_crud = { version = "=0.16.5", path = "./crates/api_crud" }
-lemmy_apub = { version = "=0.16.5", path = "./crates/apub" }
-lemmy_utils = { version = "=0.16.5", path = "./crates/utils" }
-lemmy_db_schema = { version = "=0.16.5", path = "./crates/db_schema" }
-lemmy_api_common = { version = "=0.16.5", path = "./crates/api_common" }
-lemmy_routes = { version = "=0.16.5", path = "./crates/routes" }
-lemmy_db_views = { version = "=0.16.5", path = "./crates/db_views" }
-lemmy_db_views_actor = { version = "=0.16.5", path = "./crates/db_views_actor" }
-lemmy_db_views_moderator = { version = "=0.16.5", path = "./crates/db_views_moderator" }
+lemmy_api = { version = "=0.17.0", path = "./crates/api" }
+lemmy_api_crud = { version = "=0.17.0", path = "./crates/api_crud" }
+lemmy_apub = { version = "=0.17.0", path = "./crates/apub" }
+lemmy_utils = { version = "=0.17.0", path = "./crates/utils" }
+lemmy_db_schema = { version = "=0.17.0", path = "./crates/db_schema" }
+lemmy_api_common = { version = "=0.17.0", path = "./crates/api_common" }
+lemmy_routes = { version = "=0.17.0", path = "./crates/routes" }
+lemmy_db_views = { version = "=0.17.0", path = "./crates/db_views" }
+lemmy_db_views_actor = { version = "=0.17.0", path = "./crates/db_views_actor" }
+lemmy_db_views_moderator = { version = "=0.17.0", path = "./crates/db_views_moderator" }
activitypub_federation = "0.3.4"
diesel = "2.0.2"
diesel_migrations = "2.0.0"
#!/bin/sh
+set -e
#git checkout main
-pushd ../docker/prod/
-
# Creating the new tag
new_tag="$1"
third_semver=$(echo $new_tag | cut -d "." -f 3)
# The ansible and 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/prod/
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compose.yml
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../prod/docker-compose.yml
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../dev/docker-compose.yml
git add ../prod/docker-compose.yml
git add ../dev/docker-compose.yml
git add ../federation/docker-compose.yml
+ popd
# Setting the version for Ansible
pushd ../../../lemmy-ansible
popd
fi
-# Update crate versions for crates.io
-pushd ../../
-old_tag=$(head -3 Cargo.toml | tail -1 | cut -d'"' -f 2)
-# same as above, for the main cargo.toml
+# Update crate versions
+pushd ..
+old_tag=$(grep version Cargo.toml | head -1 | cut -d'"' -f 2)
sed -i "s/{ version = \"=$old_tag\", path/{ version = \"=$new_tag\", path/g" Cargo.toml
sed -i "s/version = \"$old_tag\"/version = \"$new_tag\"/g" Cargo.toml
git add Cargo.toml