Skip to content

Commit a132612

Browse files
jet52claude
andcommitted
Move ZIP to release assets, stop tracking in repo
Replace the push-triggered workflow that committed jetbriefcheck.zip to the repo (causing push races) with a release-triggered workflow that attaches the ZIP as a release asset. Add ZIP to .gitignore and update README download link to point to the latest release. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8494df7 commit a132612

4 files changed

Lines changed: 10 additions & 28 deletions

File tree

.github/workflows/build-zip.yml

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
name: Build skill ZIP
1+
name: Release with skill ZIP
22

33
on:
4-
push:
5-
branches: [main]
6-
paths:
7-
- 'core/**'
8-
- 'references/**'
9-
- 'scripts/**'
10-
- 'SKILL.md'
11-
- 'requirements.txt'
12-
- 'version.json'
4+
release:
5+
types: [published]
136

147
permissions:
158
contents: write
169

1710
jobs:
18-
build-zip:
11+
attach-zip:
1912
runs-on: ubuntu-latest
2013
steps:
2114
- uses: actions/checkout@v4
@@ -26,31 +19,19 @@ jobs:
2619
dest="$tmp/jetbriefcheck"
2720
mkdir -p "$dest"
2821
29-
# Copy the files that belong in the ZIP
3022
cp -r core "$dest/core"
3123
cp -r references "$dest/references"
3224
cp -r scripts "$dest/scripts"
3325
cp SKILL.md "$dest/SKILL.md"
3426
cp requirements.txt "$dest/requirements.txt"
3527
cp version.json "$dest/version.json"
3628
37-
# Remove any __pycache__ or .pyc files
3829
find "$dest" -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
3930
find "$dest" -name '*.pyc' -delete 2>/dev/null || true
4031
41-
# Build the ZIP
4232
(cd "$tmp" && zip -r "$GITHUB_WORKSPACE/jetbriefcheck.zip" jetbriefcheck/)
4333
44-
- name: Check for changes
45-
id: diff
46-
run: |
47-
git diff --quiet jetbriefcheck.zip && echo "changed=false" >> "$GITHUB_OUTPUT" || echo "changed=true" >> "$GITHUB_OUTPUT"
48-
49-
- name: Commit updated ZIP
50-
if: steps.diff.outputs.changed == 'true'
51-
run: |
52-
git config user.name "github-actions[bot]"
53-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
54-
git add jetbriefcheck.zip
55-
git commit -m "Rebuild jetbriefcheck.zip [automated]"
56-
git push
34+
- name: Attach ZIP to release
35+
run: gh release upload "${{ github.event.release.tag_name }}" jetbriefcheck.zip --clobber
36+
env:
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ __pycache__/
33
.env
44
test-data/
55
*.pyc
6+
jetbriefcheck.zip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This section walks you through adding the JetBriefCheck to your Claude account s
1111
### What You Need Before You Start
1212

1313
- A Claude account at [claude.ai](https://claude.ai) with a Pro, Team, or Enterprise plan (the skill requires the ability to upload files and use projects).
14-
- The **`jetbriefcheck.zip`** file from this repository ([v1.5.0](https://github.com/jet52/jetbriefcheck/releases/tag/v1.5.0) or later). Click on `jetbriefcheck.zip` in the repository file list and then click the download button.
14+
- The **`jetbriefcheck.zip`** file from the [latest release](https://github.com/jet52/jetbriefcheck/releases/latest). Click on `jetbriefcheck.zip` under Assets to download it.
1515

1616
### Step-by-Step Installation
1717

jetbriefcheck.zip

-140 KB
Binary file not shown.

0 commit comments

Comments
 (0)