feat(release): add release.json and upstream.json

- config/constants.php reads the Coolify and helper versions from them
- The image and sync-cdn.sh write versions.json from upstream.json, install.sh reads it by key
This commit is contained in:
peaklabs-dev
2026-11-01 15:15:33 +01:00
parent 7560d0745d
commit 911e68ab27
13 changed files with 67 additions and 55 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
- name: Resolve next version
id: version
run: |
RC_VERSION=$(jq -r '.coolify.nightly.version' versions.json)
RC_VERSION=$(jq -r '.coolify.nightly.version' other/nightly/versions.json)
if [[ ! "${RC_VERSION}" =~ ^[0-9]+\.[0-9]+-rc\.[0-9]+$ ]]; then
echo "Invalid next RC version: ${RC_VERSION}"
exit 1
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
fi
VERSION="${TAG_NAME#v}"
CONFIG_VERSION=$(jq -r '.coolify.nightly.version' versions.json)
CONFIG_VERSION=$(jq -r '.coolify.nightly.version' other/nightly/versions.json)
if [[ "${CONFIG_VERSION}" != "${VERSION}" ]]; then
echo "RC tag ${VERSION} does not match nightly version ${CONFIG_VERSION}."
exit 1