A self-organizing Obsidian vault that gives AI coding agents persistent memory.
TypeScript ai-agentsclaude-codecodex-cligemini-cliknowledge-managementobsidianobsidian-vaultpersistent-memorysecond-braintemplate
ci: auto-prepend v prefix in tag-release workflow
Brenno Ferrari39bd841f61d7
diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.ymlindex 259d1df..e56ad83 100644--- a/.github/workflows/tag-release.yml+++ b/.github/workflows/tag-release.yml@@ -17,10 +17,16 @@ jobs:steps:- uses: actions/checkout@v4- - name: Validate version format+ - name: Validate and normalize versionenv:- VERSION: ${{ inputs.version }}+ INPUT_VERSION: ${{ inputs.version }}run: |+ # Auto-prepend v if missing+ VERSION="$INPUT_VERSION"+ if [[ ! "$VERSION" =~ ^v ]]; then+ VERSION="v$VERSION"+ fi+if [[ ! "$VERSION" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; thenecho "::error::Invalid version format: $VERSION (expected v*.* or v*.*.*)"exit 1@@ -30,9 +36,9 @@ jobs:exit 1fi+ echo "VERSION=$VERSION" >> "$GITHUB_ENV"+- name: Create and push tag- env:- VERSION: ${{ inputs.version }}run: |git tag "$VERSION"git push origin "$VERSION"