Skip to content

Commit

Permalink
Might have it
Browse files Browse the repository at this point in the history
`echo "version_short=$vs" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append`

:^))))))))))))))))))))
  • Loading branch information
hydrusnetwork committed Feb 19, 2024
1 parent 6f24956 commit 23b7f4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23b7f4a

Please sign in to comment.