@wipcomputer/deploy-public 1.0.0 → 1.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/deploy-public.sh +1 -5
  2. package/package.json +1 -1
package/deploy-public.sh CHANGED
@@ -99,11 +99,7 @@ PR_URL=$(gh pr create -R "$PUBLIC_REPO" \
99
99
 
100
100
  echo "Merging PR..."
101
101
  PR_NUMBER=$(echo "$PR_URL" | grep -o '[0-9]*$')
102
- gh pr merge "$PR_NUMBER" -R "$PUBLIC_REPO" --merge
103
-
104
- # Delete the deploy branch (merged, no longer needed)
105
- echo "Cleaning up deploy branch..."
106
- gh api -X DELETE "repos/$PUBLIC_REPO/git/refs/heads/$BRANCH" 2>/dev/null && echo " ✓ Deleted branch $BRANCH" || echo " ! Could not delete branch (non-fatal)"
102
+ gh pr merge "$PR_NUMBER" -R "$PUBLIC_REPO" --merge --delete-branch
107
103
 
108
104
  # Clean up any other non-main branches on public repo
109
105
  echo "Checking for stale branches on public repo..."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wipcomputer/deploy-public",
3
- "version": "1.0.0",
3
+ "version": "1.9.6",
4
4
  "description": "Private-to-public repo sync. Excludes ai/ folder, creates PR, merges, cleans up branches.",
5
5
  "bin": {
6
6
  "deploy-public": "./deploy-public.sh"