Skip to content

Commit b791442

Browse files
author
DineWise Project
committed
Fix PowerShell script syntax error
1 parent 265514a commit b791442

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

push-to-github.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ param(
99
[string]$RepositoryName = "from-protege-to-production-python"
1010
)
1111

12-
Write-Host "🚀 Pushing to GitHub..." -ForegroundColor Green
12+
Write-Host "Pushing to GitHub..." -ForegroundColor Green
1313
Write-Host ""
1414

1515
# Check if remote already exists
1616
$remoteExists = git remote get-url origin 2>$null
1717

1818
if ($remoteExists) {
19-
Write-Host "⚠️ Remote 'origin' already exists!" -ForegroundColor Yellow
19+
Write-Host "Warning: Remote 'origin' already exists!" -ForegroundColor Yellow
2020
Write-Host "Current remote: $remoteExists" -ForegroundColor Yellow
2121
$update = Read-Host "Do you want to update it? (y/n)"
2222
if ($update -eq "y" -or $update -eq "Y") {
@@ -44,11 +44,11 @@ Write-Host ""
4444
try {
4545
git push -u origin main
4646
Write-Host ""
47-
Write-Host "Successfully pushed to GitHub!" -ForegroundColor Green
47+
Write-Host "Successfully pushed to GitHub!" -ForegroundColor Green
4848
Write-Host "Repository URL: https://github.com/$GitHubUsername/$RepositoryName" -ForegroundColor Cyan
4949
} catch {
5050
Write-Host ""
51-
Write-Host "Push failed!" -ForegroundColor Red
51+
Write-Host "Push failed!" -ForegroundColor Red
5252
Write-Host "Error: $_" -ForegroundColor Red
5353
Write-Host ""
5454
Write-Host "Common solutions:" -ForegroundColor Yellow
@@ -60,7 +60,7 @@ try {
6060
}
6161

6262
Write-Host ""
63-
Write-Host "📝 Next steps:" -ForegroundColor Green
63+
Write-Host "Next steps:" -ForegroundColor Green
6464
Write-Host "1. Update repository URLs in README.md and QUICKSTART.md" -ForegroundColor White
6565
Write-Host "2. Add repository description on GitHub" -ForegroundColor White
6666
Write-Host "3. Add topics/tags on GitHub" -ForegroundColor White

0 commit comments

Comments
 (0)