mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
ci: use hash instead of version for stg
This commit is contained in:
parent
af4f684a96
commit
1e9653baa4
1 changed files with 1 additions and 1 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
$dllBytes = [System.IO.File]::ReadAllBytes("$(Get-Location)\scratch\Dalamud.dll")
|
||||
$assembly = [System.Reflection.Assembly]::Load($dllBytes)
|
||||
$newVersion = $assembly.GetName().Version.ToString()
|
||||
$newVersion = $assembly.GetCustomAttributes([System.Reflection.AssemblyMetadataAttribute]) | Where { $_.GetType() -eq [System.Reflection.AssemblyMetadataAttribute] } | Select -First 1 | Select -ExpandProperty "Value"
|
||||
Remove-Item -Force -Recurse .\scratch
|
||||
|
||||
$versionData = Get-Content .\stg\version | ConvertFrom-Json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue