Skip to content
This repository was archived by the owner on Feb 20, 2025. It is now read-only.

Commit c920f93

Browse files
committed
Update to 0.1.1
1 parent 8d1a95f commit c920f93

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[submodule "translations"]
1+
[submodule "lemmybb-translations"]
22
url = https://github.com/LemmyNet/lemmybb_translations.git
33
path = lemmybb-translations
44
[submodule "lemmy-translations"]

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lemmy_bb"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55

66
[profile.release]

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ WORKDIR app
2020
COPY --from=builder /app/target/release/lemmy_bb .
2121
COPY assets assets
2222
COPY templates templates
23-
COPY translations translations
23+
COPY lemmy-translations lemmy-translations
24+
COPY lemmybb-translations lemmybb-translations
2425
ENTRYPOINT ["/app/lemmy_bb"]

lemmybb-translations

Submodule lemmybb-translations added at 56bc31d

release.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
new_tag="$1"
5+
6+
old_tag=$(head -3 Cargo.toml | tail -1 | cut -d'"' -f 2)
7+
sed -i "0,/version = \"$old_tag\"/s//version = \"$new_tag\"/g" Cargo.toml
8+
9+
git add Cargo.toml
10+
git commit -m "Update to $new_tag"
11+
git tag "$new_tag"
12+
git push --tags
13+
14+
sudo docker build . -f docker/Dockerfile -t "lemmynet/lemmybb:$new_tag"
15+
sudo docker push "lemmynet/lemmybb:$new_tag"

0 commit comments

Comments
 (0)