Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

ci: auto-tag release when MARKETING_VERSION changes on main

libokai2463363d7cf7
diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml
new file mode 100644
index 00000000..fbe453f9
--- /dev/null
+++ b/.github/workflows/auto-tag.yml
@@ -0,0 +1,36 @@
+name: Auto Tag
+
+on:
+ push:
+ branches: [main]
+ paths:
+ - "Codync.xcodeproj/project.pbxproj"
+
+permissions:
+ contents: write
+
+jobs:
+ tag:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Read version from pbxproj
+ id: version
+ run: |
+ VERSION=$(grep -m1 'MARKETING_VERSION' Codync.xcodeproj/project.pbxproj | sed 's/.*= //;s/;//;s/ //g')
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
+ echo "Detected version: $VERSION"
+
+ - name: Create tag if not exists
+ run: |
+ TAG="v${{ steps.version.outputs.version }}"
+ if git rev-parse "$TAG" >/dev/null 2>&1; then
+ echo "Tag $TAG already exists, skipping"
+ else
+ echo "Creating tag $TAG"
+ git tag "$TAG"
+ git push origin "$TAG"
+ fi