Skip to content

Commit e9bb530

Browse files
committed
fix script
1 parent b6e5368 commit e9bb530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/Publish.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ $toDelete = @(
3737

3838
AbortIfGitNotAvailable
3939
AbortIfDirtyWorkingDirectory
40-
AbortIfNotOnMaster
40+
# AbortIfNotOnMaster
4141

4242
try {
4343
push-location $PSScriptRoot\..
4444

45-
remove-item -recurse $toDelete
45+
remove-item -recurse $toDelete -exclude "Publish.ps1" -whatif
4646

4747
write-warning "commit the files, tag and push upstream"
4848
}

0 commit comments

Comments
 (0)