diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5ab458..e26c8a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: cd bin zip -r gohomo-${{ matrix.goos }}-${{ matrix.goarch }}-${{ env.COMMIT_SHA_SHORT }}.zip * cd .. - echo "${{ env.COMMIT_SHA_SHORT }}" > bin/version.txt + echo -n "${{ env.COMMIT_SHA_SHORT }}" > bin/version.txt - name: Upload release assets uses: softprops/action-gh-release@v2