mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-23 01:35:21 +00:00
Fixing the release script. (#3295)
* Fixing the release script. * Updating the submodules.
This commit is contained in:
parent
211e76dc27
commit
98482b1564
|
@ -10,15 +10,15 @@ third_semver=$(echo $new_tag | cut -d "." -f 3)
|
||||||
# IE, when the third semver is a number, not '2-rc'
|
# IE, when the third semver is a number, not '2-rc'
|
||||||
if [ ! -z "${third_semver##*[!0-9]*}" ]; then
|
if [ ! -z "${third_semver##*[!0-9]*}" ]; then
|
||||||
pushd ../docker
|
pushd ../docker
|
||||||
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../docker-compose.yml
|
sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" docker-compose.yml
|
||||||
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../docker-compose.yml
|
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" docker-compose.yml
|
||||||
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" ../federation/docker-compose.yml
|
sed -i "s/dessalines\/lemmy-ui:.*/dessalines\/lemmy-ui:$new_tag/" federation/docker-compose.yml
|
||||||
git add ../docker-compose.yml
|
git add docker-compose.yml
|
||||||
git add ../federation/docker-compose.yml
|
git add federation/docker-compose.yml
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Setting the version for Ansible
|
# Setting the version for Ansible
|
||||||
pushd ../../../lemmy-ansible
|
pushd ../../lemmy-ansible
|
||||||
echo $new_tag > "VERSION"
|
echo $new_tag > "VERSION"
|
||||||
git add "VERSION"
|
git add "VERSION"
|
||||||
git commit -m"Updating VERSION"
|
git commit -m"Updating VERSION"
|
||||||
|
@ -38,6 +38,10 @@ cargo check
|
||||||
git add Cargo.lock
|
git add Cargo.lock
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# Update the submodules
|
||||||
|
git submodule update --remote
|
||||||
|
git add crates/utils/translations
|
||||||
|
|
||||||
# The commit
|
# The commit
|
||||||
git commit -m"Version $new_tag"
|
git commit -m"Version $new_tag"
|
||||||
git tag $new_tag
|
git tag $new_tag
|
||||||
|
|
Loading…
Reference in a new issue