diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5d41c5..3acdef6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - name: Package Binary - run: cd ./target/armv7-unknown-linux-gnueabihf/release/ && tar zcvf phetch-${{ steps.get_version.outputs.VERSION }}-linux-armv7.tgz phetch + run: cp docs/phetch.1 target/armv7-unknown-linux-gnueabihf/release && cd target/armv7-unknown-linux-gnueabihf/release && tar zcvf phetch-${{ steps.get_version.outputs.VERSION }}-linux-armv7.tgz phetch phetch.1 - name: Upload Artifact uses: actions/upload-artifact@v1 with: @@ -77,7 +77,7 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - name: Package Binary - run: cd ./target/release/ && tar zcvf phetch-${{ steps.get_version.outputs.VERSION }}-linux-x86_64.tgz phetch + run: cp docs/phetch.1 target/release && cd target/release && tar zcvf phetch-${{ steps.get_version.outputs.VERSION }}-linux-x86_64.tgz phetch phetch.1 - name: Upload Artifact uses: actions/upload-artifact@v1 with: @@ -119,7 +119,7 @@ jobs: id: get_version run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} - name: Package Binary - run: cd ./target/release/ && zip -r phetch-${{ steps.get_version.outputs.VERSION }}-macos.zip phetch + run: cp docs/phetch.1 target/release && cd target/release && zip -r phetch-${{ steps.get_version.outputs.VERSION }}-macos.zip phetch phetch.1 - name: Upload Artifact uses: actions/upload-artifact@v1 with: @@ -156,7 +156,7 @@ jobs: files: | phetch-macos/phetch-${{ steps.get_version.outputs.VERSION }}-macos.zip phetch-linux-x86_64/phetch-${{ steps.get_version.outputs.VERSION }}-linux-x86_64.tgz - phetch-linux-armv7/phetch-${{ steps.get_version.outputs.VERSION }}-linux-armv7.tgz + phetch-linux-armv7/phetch-${{ steps.get_version.outputs.VERSION }}-linux-armv7.tgz body_path: CHANGELOG.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file