Jaypore CI

> Jaypore CI: Minimal, Offline, Local CI system.
Log | Files | Refs | README | LICENSE

commit 4f1a06099381ca9960fb894235c477f4b7a3e4f7
parent a90bc016f5dec65d25975db0aefa918f8245dc61
Author: arjoonn <arjoonn@midpathsoftware.com>
Date:   Sat, 28 Feb 2026 11:18:05 +0530

x

Diffstat:
M.jci/run.sh | 3++-
Dscripts/bump_version.sh | 45---------------------------------------------
Ascripts/sync_version.sh | 10++++++++++
Mwww_jci/public/index.html | 8++++++++
4 files changed, 20 insertions(+), 46 deletions(-)

diff --git a/.jci/run.sh b/.jci/run.sh @@ -52,7 +52,8 @@ build_target() { # --------------------------------------------------------------------------- echo "--- Step 1: Updating code with latest VERSION ---" -scripts/build_image.sh +scripts/sync_version.sh + # Step 1: Build Docker image (sequential — other steps depend on it) # --------------------------------------------------------------------------- echo "--- Step 2: Building Docker image via scripts/build_image.sh ---" diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh @@ -1,45 +0,0 @@ -#!/usr/bin/env bash -# bump_version.sh <new-version> -# -# Updates the single source of truth (VERSION) and all derived locations: -# - VERSION -# - www_jci/public/index.html (<span id="jci-version">) -# -# The Go binary picks up the version automatically at build time via -# -ldflags "-X main.version=<version>" in scripts/build_binary.sh. -# -# Usage: -# ./scripts/bump_version.sh 1.2.3 -set -euo pipefail - -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" - -NEW_VERSION="${1:-}" -if [[ -z "${NEW_VERSION}" ]]; then - echo "Usage: $0 <new-version> e.g. $0 1.2.3" >&2 - exit 1 -fi - -# Strip a leading 'v' if the caller passed e.g. v1.2.3 -NEW_VERSION="${NEW_VERSION#v}" - -echo "Bumping version to ${NEW_VERSION}..." - -# 1. Write VERSION file -echo "${NEW_VERSION}" > "${REPO_ROOT}/VERSION" -echo " ✓ VERSION" - -# 2. Update the span in index.html -INDEX_HTML="${REPO_ROOT}/www_jci/public/index.html" -sed -i "s|<span id=\"jci-version\">.*</span>|<span id=\"jci-version\">v${NEW_VERSION}</span>|" \ - "${INDEX_HTML}" -echo " ✓ www_jci/public/index.html" - -echo "" -echo "Done. Next steps:" -echo " 1. Update CHANGELOG.md with release notes for v${NEW_VERSION}" -echo " 2. git add VERSION www_jci/public/index.html CHANGELOG.md" -echo " 3. git commit -m \"chore: bump version to v${NEW_VERSION}\"" -echo " 4. git tag v${NEW_VERSION}" -echo " 5. Rebuild binaries (scripts/build_binary.sh per platform)" diff --git a/scripts/sync_version.sh b/scripts/sync_version.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" + +INDEX_HTML="${REPO_ROOT}/www_jci/public/index.html" +sed -i "s|<span id=\"jci-version\">.*</span>|<span id=\"jci-version\">v${NEW_VERSION}</span>|" \ + "${INDEX_HTML}" +echo " ✓ www_jci/public/index.html" diff --git a/www_jci/public/index.html b/www_jci/public/index.html @@ -35,6 +35,14 @@ </p> <p> </p> + </section> + + <section id="support"> + <span class="label">Supporting</span> + <h2>Support Jaypore CI</h2> + <p> + Keep Jaypore CI development going by contributing via the secure payment link below. + </p> <form id="rzp-form" class="rzp-skeleton" style="display:inline-block;min-width:172px;min-height:48px;"><script src="https://checkout.razorpay.com/v1/payment-button.js" data-payment_button_id="pl_SKcbmqJhCoHh1L" async> </script> </form> <script> (function () {