Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix realease.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Jul 19, 2023
1 parent ec72aa6 commit 9be38cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
- uses: actions/checkout@v3
- name: "Update build.go"
run: |
echo "package main\n" > ./build.go &&
echo "import \"runtime\"\n" >> ./build.go &&
echo "package main" > ./build.go &&
echo "" >> ./build.go &&
echo "import \"runtime\"" >> ./build.go &&
echo "" >> ./build.go &&
echo "const AppVersion = \"$(echo ${GITHUB_REF#refs/tags/} | cut -c 2-)\"" >> ./build.go &&
echo "const BuildArch = runtime.GOARCH" >> ./build.go &&
echo "const BuildOS = runtime.GOOS" >> ./build.go
Expand Down

0 comments on commit 9be38cc

Please sign in to comment.