Skip to content

Commit 885fc00

Browse files
committed
Updated release script to include new .tga files
1 parent 064b104 commit 885fc00

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

create-release-windows.ps1

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
New-Item -Type Directory tmp > $null
22
New-Item -Type Directory .\tmp\Esy > $null
3+
New-Item -Type Directory .\tmp\Esy\ChatNotif > $null
4+
New-Item -Type Directory .\tmp\Esy\ChatNotif\res > $null
5+
6+
# .plugin files
37
Copy-Item .\ChatNotif.plugin .\tmp\Esy\
48
Copy-Item .\ChatNotif.plugincompendium .\tmp\Esy\
5-
New-Item -Type Directory .\tmp\Esy\ChatNotif > $null
9+
10+
# .lua files
611
Copy-Item .\ChatNotif\*.lua .\tmp\Esy\ChatNotif\
7-
New-Item -Type Directory .\tmp\Esy\ChatNotif\res > $null
8-
Copy-Item .\ChatNotif\res\icon.tga .\tmp\Esy\ChatNotif\res\
9-
Write-Output "See https://github.com/EsyArda/ChatNotif/blob/main/README.md for more info." > .\tmp\Esy\ChatNotif\README.txt
12+
13+
# Resources
14+
Copy-Item .\ChatNotif\res\*.tga .\tmp\Esy\ChatNotif\res\
15+
16+
# License and README
1017
Copy-Item .\LICENSE.md .\tmp\Esy\ChatNotif
11-
# Git tag
18+
Write-Output "See https://github.com/EsyArda/ChatNotif/blob/main/README.md for more info." > .\tmp\Esy\ChatNotif\README.txt
19+
20+
# ZIP name is Esy-ChatNotif-<latest tag>.zip
1221
$latestTag = git describe --tags --abbrev=0
1322
Compress-Archive -LiteralPath .\tmp\Esy\ -DestinationPath Esy-ChatNotif-$latestTag.zip
23+
1424
Remove-Item -Recurse .\tmp\

0 commit comments

Comments
 (0)