Skip to content

Commit

Permalink
Updated deploy and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Jul 21, 2023
1 parent c4b8fc5 commit 6fc7589
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
14 changes: 10 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
.vscode
.vscode/*
[Tt]humbs.db
texHeaders.bin
*.sqfc
*.cache
*.pbo
*.swp
*.swo
[Ki]eys/*
*.biprivatekey
[Rr]eleases/*
[Rr]elease/*
[Kk]eys/*
@*
*.zip
hemtt
hemtt.exe
.hemttout
[Tt]emp
[.Tt]emp
ArmaScriptCompiler.exe
sqfvm.exe
tools/temp
6 changes: 3 additions & 3 deletions tools/deploy_both.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ cd $PSScriptRoot
cd $PSScriptRoot\..

Write-Host "Renaming and saving hemtt release in temp"
New-Item -ItemType Directory -Path temp -Force >$null 2>&1
New-Item -ItemType Directory -Path tools\temp -Force >$null 2>&1
Rename-Item -Path .\releases\7CavAddon_$tagVersion.zip -NewName 7CavAddon_$tagVersion-hemtt.zip
Move-Item -Path .\releases\7CavAddon_$tagVersion-hemtt.zip -Destination .\temp\.
Move-Item -Path .\releases\7CavAddon_$tagVersion-hemtt.zip -Destination .\tools\temp\.


# Pbo Project
Expand All @@ -42,5 +42,5 @@ cd $PSScriptRoot\..

# Rename hemtt zip
Rename-Item -Path .\releases\7CavAddon_$tagVersion.zip -NewName 7CavAddon_$tagVersion-pboProject.zip
Move-Item -Path .\temp\7CavAddon_$tagVersion-hemtt.zip -Destination .\releases\.
Move-Item -Path .\tools\temp\7CavAddon_$tagVersion-hemtt.zip -Destination .\releases\.
Remove-Item .\temp -Force -Recurse -ErrorAction 'silentlycontinue'

0 comments on commit 6fc7589

Please sign in to comment.