@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.
- package/deploy-public.sh +1 -5
- 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