Skip to content

Commit

Permalink
fix replace command (danielpaulus#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpaulus authored Apr 16, 2022
1 parent 3d638d6 commit 08844e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v2
- name: Build
run: |
get-content main.go | %{$_ -replace "local-build","${{ steps.create_release.outputs.current_tag }}"}
((Get-Content -path main.go -Raw) -replace "local-build","${{ steps.create_release.outputs.current_tag }}") | Set-Content -Path main.go
mkdir bin
go build -ldflags="-s -w" -o bin/ios.exe
"${{ steps.create_release.outputs.current_tag }}" | Out-File -Encoding utf8NoBOM release_tag -NoNewline
Expand Down

0 comments on commit 08844e9

Please sign in to comment.