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

Commit

Permalink
fix release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Jul 19, 2023
1 parent c013e87 commit 6da5307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
echo "package main\n" > ./build.go &&
echo "import \"runtime\"\n" >> ./build.go &&
echo "const AppVersion = \"${$(basename $GITHUB_REF):1}\"" >> ./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
- uses: actions/checkout@v3
Expand Down

0 comments on commit 6da5307

Please sign in to comment.