Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Add replace option to release workflow
Martin Vogel7d1f56836e49
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 23ff59514..821138db9 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -11,6 +11,11 @@ on:description: "Release notes (optional — auto-generated from commits if empty)"required: falsetype: string+ replace:+ description: "Replace existing release if it exists"+ required: false+ type: boolean+ default: falsepermissions:contents: write@@ -128,10 +133,16 @@ jobs:- name: Generate checksumsrun: sha256sum *.tar.gz *.zip > checksums.txt+ - name: Delete existing release+ if: ${{ inputs.replace }}+ run: gh release delete "${{ inputs.version }}" --yes --cleanup-tag || true+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+- name: Create tagrun: |- git tag ${{ inputs.version }}- git push origin ${{ inputs.version }}+ git tag -f ${{ inputs.version }}+ git push origin ${{ inputs.version }} --force- uses: softprops/action-gh-release@v2with: