-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathcommit-and-pr.sh
More file actions
32 lines (23 loc) Β· 850 Bytes
/
commit-and-pr.sh
File metadata and controls
32 lines (23 loc) Β· 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
BRANCH_NAME="feat/portfolio-aggregation-16"
echo "π Setting up branch and committing Issue #16"
# Create and switch to the new branch
git checkout -b $BRANCH_NAME
# Add all changes
git add .
# Commit changes
git commit -m "feat: Implement portfolio aggregation endpoint
- Add GET /api/user/:address/portfolio endpoint
- Aggregate multiple vaults (advisor + investor)
- Return { total_locked: 100, total_claimable: 20 }
- Add CORS and JSON middleware
- Include test suite and deployment scripts
Fixes #16"
echo " Pushing to origin..."
git push origin $BRANCH_NAME
echo "β
Changes committed and pushed successfully!"
echo "π You can now create the Pull Request on GitHub."
echo ""
echo "π Link: https://github.com/Vesting-Vault/backend/compare/main...$BRANCH_NAME"
echo ""
echo "π Issue #16 Implementation Complete!"