From 02e4ff58611bd56bfcba854ef347e738ca63b0a8 Mon Sep 17 00:00:00 2001 From: "g.wygonik" Date: Fri, 22 Nov 2024 19:23:13 -0800 Subject: [PATCH] Update build-plugin.yml --- .github/workflows/build-plugin.yml | 37 ------------------------------ 1 file changed, 37 deletions(-) diff --git a/.github/workflows/build-plugin.yml b/.github/workflows/build-plugin.yml index 5b13bac..80c06bb 100644 --- a/.github/workflows/build-plugin.yml +++ b/.github/workflows/build-plugin.yml @@ -94,40 +94,3 @@ jobs: with: path: dist/*.vcvplugin name: mac-${{ matrix.platform }} - - 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@v2 - 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