File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed
Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 6868 "https://api.github.com/repos/tscircuit/$repo/actions/workflows/update-package.yml/dispatches" \
6969 -d "{\"ref\":\"main\",\"inputs\":{\"package_names\":\"${{ env.UPSTREAM_PACKAGES_TO_UPDATE }}\"}}"
7070 fi
71- done
71+ done
72+ - name : Notify release-tracker of version update
73+ # Continue-on-error just in case the tracker is down
74+ continue-on-error : true
75+ run : |
76+ VERSION=$(node -p "require('./package.json').version")
77+ PACKAGE_JSON=$(cat package.json)
78+ curl -X POST https://release-tracker.tscircuit.com/release_events/create \
79+ -H "Content-Type: application/json" \
80+ -d "{
81+ \"event\": {
82+ \"event_type\": \"versions_updated\",
83+ \"repo\": \"tscircuit/pcb-viewer\",
84+ \"version\": \"$VERSION\",
85+ \"package_json\": $PACKAGE_JSON
86+ }
87+ }"
Original file line number Diff line number Diff line change 1+ name : Release Tracker - Feature Merge
2+
3+ on :
4+ pull_request :
5+ types : [closed]
6+
7+ jobs :
8+ track-feature-merge :
9+ if : github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Send feature merge event
13+ continue-on-error : true
14+ run : |
15+ FEATURE_NAME=$(echo "${{ github.event.pull_request.user.login }}: ${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}" | jq -R .)
16+ curl -X POST https://release-tracker.tscircuit.com/release_events/create \
17+ -H "Content-Type: application/json" \
18+ -d "{
19+ \"event\": {
20+ \"event_type\": \"feature_merged\",
21+ \"repo\": \"tscircuit/pcb-viewer\",
22+ \"feature_name\": $FEATURE_NAME
23+ }
24+ }"
You can’t perform that action at this time.
0 commit comments