Might have it

`echo "version_short=$vs" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append`

:^))))))))))))))))))))
This commit is contained in:
Hydrus Network Developer 2024-02-19 14:46:00 -06:00
parent 6f24956535
commit 23b7f4a7c3
No known key found for this signature in database
GPG Key ID: 76249F053212133C
2 changed files with 4 additions and 5 deletions

View File

@ -30,7 +30,7 @@ jobs:
name: Download ffmpeg
run: |
cd $GITHUB_WORKSPACE
curl -o ffmpeg-macos.7z https://evermeet.cx/ffmpeg/getrelease/ffmpeg/7z
curl -L -o ffmpeg-macos.7z https://evermeet.cx/ffmpeg/getrelease/ffmpeg/7z
-
name: Process ffmpeg
run: |

View File

@ -70,10 +70,9 @@ jobs:
name: Extract Version Metadata
id: meta
run: |
echo "version=${{ github.ref_name }}" >> $env:GITHUB_ENV
$vs = "${{ env.version }}".Substring(1)
echo "version_short=$vs" >> $env:GITHUB_ENV
-
$vs = "${{ github.ref_name }}".Substring(1)
echo "version_short=$vs" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
-
name: Rename Files
run: |
move dist\HydrusInstaller.exe Hydrus.Network.${{ env.version_short }}.-.Windows.-.Installer.exe