Skip to content

feat(v0.4.0): office-productivity skills, enriched templates, Codex-a… #2

feat(v0.4.0): office-productivity skills, enriched templates, Codex-a…

feat(v0.4.0): office-productivity skills, enriched templates, Codex-a… #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install docs dependencies
run: npm ci --prefix web
- name: Validate release candidate
run: npm run check
- name: Package release assets
run: |
git archive --format=zip --output "codexkit-source-${GITHUB_REF_NAME}.zip" HEAD
mkdir -p release/codexkit-starter-pack
cp -R skills templates workspaces playbooks automations mcp scripts release/codexkit-starter-pack/
cp README.md LICENSE NOTICE.md START-HERE-WINDOWS.cmd START-HERE.sh CREATE-WORKSPACE-WINDOWS.cmd CREATE-WORKSPACE.sh release/codexkit-starter-pack/
cd release
zip -r "../codexkit-starter-pack-${GITHUB_REF_NAME}.zip" codexkit-starter-pack
- name: Publish GitHub release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "$GITHUB_REF_NAME" \
"codexkit-source-${GITHUB_REF_NAME}.zip" \
"codexkit-starter-pack-${GITHUB_REF_NAME}.zip" \
--generate-notes \
--verify-tag