Files
nextcloud-mcp-server/scripts/bump-helm.sh
T
Chris Coutinho c5f7221fb2 fix(astrolabe): address code review feedback
CRITICAL FIXES:
- Fix tag parsing in workflow to strip "astrolabe-v" instead of "v"
  For tag astrolabe-v0.1.0, now correctly extracts "0.1.0"
- Add workflow filtering to only run on astrolabe-v* tags
  Prevents wasting CI resources on MCP/Helm releases

RECOMMENDED IMPROVEMENTS:
- Make Nextcloud server path configurable in Makefile
  Can now override: make appstore server_dir=/path/to/server
- Add dependency validation to Makefile
  Checks for composer, npm, php before building
- Add signing prerequisite validation
  Verifies server/occ, private key, and certificate exist
- Add dependency checks to all bump scripts
  Validates uv is installed before running cz bump

These changes improve local build experience and prevent common
errors with clear error messages and installation guidance.
2025-12-19 18:34:14 +01:00

19 lines
492 B
Bash
Executable File

#!/bin/bash
# Bump Helm chart version
set -e
# Validate dependencies
command -v uv >/dev/null 2>&1 || { echo "Error: uv not found. Install from https://docs.astral.sh/uv/"; exit 1; }
cd charts/nextcloud-mcp-server
echo "Bumping Helm chart version..."
uv run cz --config .cz.toml bump --yes
echo "✓ Helm chart version bumped"
echo " - Updated: Chart.yaml:version"
echo " - Tag format: nextcloud-mcp-server-\${version}"
echo " - Note: appVersion stays at MCP server version"
cd ../..