Skip to content

Commit 9d0a44d

Browse files
committed
more random repo creation
1 parent b3219e3 commit 9d0a44d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

create-random-repo.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ git init | Out-Null
1010
@{ Name = "config.json"; Content = '{ "version": "1.0", "enabled": true }' },
1111
@{ Name = ".gitignore"; Content = 'node_modules' },
1212
@{ Name = "HOW TO.md"; Content = 'HOW TO`n======' }
13+
@{ Name = "RELEASE NOTES.md"; Content = 'RELEASE NOTES`n======' }
1314
) | ForEach-Object {
1415
Set-Content -Path $_.Name -Value $_.Content
1516
}
@@ -20,6 +21,8 @@ git commit -m "Initial commit with demo files"
2021
Add-Content -Path "app.txt" -Value "`nFeature added at $(Get-Date)"
2122
(Get-Content "config.json") -replace '"enabled": true', '"enabled": false' | Set-Content "config.json"
2223
Add-Content -Path "HOW TO.md" -Value "`nJust do it"
24+
Add-Content -Path "RELEASE NOTES.md" -Value "`nLots of bugfixes"
25+
Set-Content -Path "DEV SETUP.md" -Value "How to get this thing running"
2326

2427
git add app.txt
2528

0 commit comments

Comments
 (0)