chore: automate version bump, tag, and push and add wget

This commit is contained in:
SansGuidon 2025-04-30 23:51:55 +02:00
parent cd35a002dd
commit 5738e73ee8
4 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"author": "Morgan",
"description": "file://DESCRIPTION.md",
"tagline": "A modern client-server application for the Soulseek file-sharing network.",
"version": "1.0.3",
"version": "1.0.6",
"healthCheckPath": "/health",
"httpPort": 5030,
"addons": {

View File

@ -21,7 +21,7 @@ FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
tini gosu libstdc++6 \
curl ca-certificates unzip jq rsync \
wget curl ca-certificates unzip jq rsync \
&& rm -rf /var/lib/apt/lists/*
# Minimal filesystem layout

View File

@ -1 +1 @@
1.0.5
1.0.6

View File

@ -5,3 +5,12 @@ set -xeu
./bump_version.sh patch
./build.sh
# Met à jour la version dans CloudronManifest.json
jq --arg v "$(command cat VERSION)" '.version = $v' CloudronManifest.json > CloudronManifest.json.tmp && mv CloudronManifest.json.tmp CloudronManifest.json
# Commit + tag + push
git add VERSION CloudronManifest.json
git commit -m "chore: bump version to v$(command cat VERSION)"
git tag "v$(command cat VERSION)"
git push --follow-tags