Skip to content

Commit b256777

Browse files
committed
Release 0.1.0-beta.1
1 parent 2d50b3e commit b256777

5 files changed

Lines changed: 10 additions & 8 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.1.3/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "monawwar/latty" }],
3+
"changelog": false,
44
"commit": false,
55
"fixed": [["server", "@livedot/db", "@livedot/shared", "web"]],
66
"linked": [],

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
push: true
4949
tags: ${{ steps.meta.outputs.tags }}
5050
labels: ${{ steps.meta.outputs.labels }}
51+
build-args: VERSION=${{ steps.meta.outputs.version }}
5152
cache-from: type=gha
5253
cache-to: type=gha,mode=max
5354
platforms: linux/amd64,linux/arm64
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
---
2-
"server": minor
3-
"web": minor
4-
"@livedot/db": minor
5-
"@livedot/shared": minor
6-
---
1+
# Changelog
2+
3+
## 0.1.0-beta.1
74

85
Initial beta release of Livedot — self-hosted, real-time website visitor tracker.
96

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ RUN turbo prune server web --docker
99

1010
# install all deps + build frontend
1111
FROM base AS build
12+
ARG VERSION=dev
13+
ENV VITE_VERSION=$VERSION
1214
COPY --from=prune /app/out/json/ .
1315
RUN bun install --frozen-lockfile
1416
COPY --from=prune /app/out/full/ .
@@ -35,7 +37,9 @@ COPY --from=build /app/apps/web/dist/ /srv/
3537
COPY docker/Caddyfile /etc/caddy/Caddyfile
3638
COPY docker/entrypoint.sh .
3739

40+
ARG VERSION=dev
3841
ENV NODE_ENV=production
42+
ENV VERSION=$VERSION
3943
ENV DATABASE_PATH=/data/livedot.db
4044
ENV PORT=5550
4145
EXPOSE 80

apps/web/src/components/layout/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function Navbar() {
4040
</Avatar>
4141
<div className="flex flex-col gap-0">
4242
<p className="text-sm leading-5 font-medium">{user.username}</p>
43-
<p className="text-xs leading-none text-muted">Administrator</p>
43+
<p className="text-xs leading-none text-muted">v{import.meta.env.VITE_VERSION ?? "dev"}</p>
4444
</div>
4545
</div>
4646
</div>

0 commit comments

Comments
 (0)