diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 42576c7a..0c762ef9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -94,11 +94,13 @@ jobs: - name: Copy release binary run: mv build/metanorma metanorma-linux-x64 - name: Set release binary permissions - run: chmod a+x metanorma-linux-x64 + run: | + chmod a+x metanorma-linux-x64 + tar -czvf metanorma-linux-x64.tgz metanorma-linux-x64 - name: Release binary uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: metanorma-linux-x64 + files: metanorma-linux-x64.tgz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1250ae6d..b4cf2178 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -75,11 +75,13 @@ jobs: - name: Copy release binary run: cp build/metanorma metanorma-darwin-x64 - name: Set release binary permissions - run: chmod a+x metanorma-darwin-x64 + run: | + chmod a+x metanorma-darwin-x64 + tar -czvf metanorma-darwin-x64.tgz metanorma-darwin-x64 - name: Release binary uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: metanorma-darwin-x64 + files: metanorma-darwin-x64.tgz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file