diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index bd3b677..c885b2e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -26,19 +26,11 @@ jobs: ./zimbra-build-helper.sh --build-zimbra - run: ls -la /home/git/zimbra/BUILDS - run: mv /home/git/zimbra/BUILDS/UBUNTU20_64*/zcs-*.tgz /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}.tgz - - uses: actions/create-release@v1 - id: create_release + - name: Release + uses: "marvinpinto/action-automatic-releases@latest" with: - draft: false - prerelease: true - release_name: ${{ github.ref_name }} - tag_name: ${{ github.ref_name }} - - name: upload linux artifact - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}.tgz - asset_name: zimbra-${{ github.ref_name }}.tgz - asset_content_type: application/gzip1 + repo_token: "${{ secrets.GITHUB_TOKEN }}" + prerelease: false + files: | + /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}.tgz + diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..609b4fa 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,5 +1,8 @@ + +