diff --git a/.github/workflows/build-plugin.yml b/.github/workflows/build-plugin.yml index 4b62c16..ed7473c 100644 --- a/.github/workflows/build-plugin.yml +++ b/.github/workflows/build-plugin.yml @@ -81,40 +81,3 @@ jobs: path: dist/*.vcvplugin name: mac-${{ matrix.platform }} overwrite: true - - publish: - name: Publish plugin - # only create a release if a tag was created that is called e.g. v1.2.3 - # see also https://vcvrack.com/manual/Manifest#version - if: startsWith(github.ref, 'refs/tags/v') - runs-on: ubuntu-latest - needs: [build, build-mac] - steps: - - uses: actions/checkout@v4 - - uses: FranzDiebold/github-env-vars-action@v2 - - name: Check if plugin version matches tag - run: | - pluginversion=`jq -r '.version' plugin.json` - if [ "v$pluginversion" != "${{ env.CI_REF_NAME }}" ]; then - echo "Plugin version from plugin.json 'v$pluginversion' doesn't match with tag version '${{ env.CI_REF_NAME }}'" - exit 1 - fi - - name: Create Release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ github.ref }} - name: Release ${{ env.CI_REF_NAME }} - body: | - ${{ env.CI_REPOSITORY_NAME }} VCV Rack Plugin ${{ env.CI_REF_NAME }} - draft: false - prerelease: false - - uses: actions/download-artifact@v4 - with: - path: _artifacts - - name: Upload release assets - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: _artifacts/**/*.vcvplugin - tag: ${{ github.ref }} - file_glob: true