chore: automate version bump, tag, and push and add wget
This commit is contained in:
parent
cd35a002dd
commit
5738e73ee8
@ -4,7 +4,7 @@
|
|||||||
"author": "Morgan",
|
"author": "Morgan",
|
||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"tagline": "A modern client-server application for the Soulseek file-sharing network.",
|
"tagline": "A modern client-server application for the Soulseek file-sharing network.",
|
||||||
"version": "1.0.3",
|
"version": "1.0.6",
|
||||||
"healthCheckPath": "/health",
|
"healthCheckPath": "/health",
|
||||||
"httpPort": 5030,
|
"httpPort": 5030,
|
||||||
"addons": {
|
"addons": {
|
||||||
|
@ -21,7 +21,7 @@ FROM debian:bookworm-slim
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
tini gosu libstdc++6 \
|
tini gosu libstdc++6 \
|
||||||
curl ca-certificates unzip jq rsync \
|
wget curl ca-certificates unzip jq rsync \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Minimal filesystem layout
|
# Minimal filesystem layout
|
||||||
|
9
patch.sh
9
patch.sh
@ -5,3 +5,12 @@ set -xeu
|
|||||||
./bump_version.sh patch
|
./bump_version.sh patch
|
||||||
./build.sh
|
./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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user