Skip to content

Commit

Permalink
Adding Shifty Expander
Browse files Browse the repository at this point in the history
  • Loading branch information
patheros committed Apr 10, 2022
1 parent 101e0c0 commit 7e16c2a
Show file tree
Hide file tree
Showing 9 changed files with 16,022 additions and 22 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sed -i 's/zip -q -9 -r/7z a -tzip -mx=9/' $HOME/Rack-SDK/plugin.mk
- name: Modify plugin version
# only modify plugin version if no tag was created
if: "! startsWith(github.ref, 'refs/tags/v')"
# if: "! startsWith(github.ref, 'refs/tags/v')"
run: |
gitrev=`git rev-parse --short HEAD`
pluginversion=`jq -r '.version' plugin.json`
Expand Down Expand Up @@ -83,30 +83,28 @@ jobs:
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')
# if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: FranzDiebold/[email protected]
- name: Check if plugin version matches tag
- name: Get Release name from plugin and git revision
run: |
pluginversion=`jq -r '.version' plugin.json`
if [ "v$pluginversion" != "${{ env.GITHUB_REF_NAME }}" ]; then
echo "Plugin version from plugin.json 'v$pluginversion' doesn't match with tag version '${{ env.GITHUB_REF_NAME }}'"
exit 1
fi
gitrev=`git rev-parse --short HEAD`
echo "releasename=$pluginversion-$gitrev" >> $GITHUB_ENV
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ env.releasename }}
release_name: Release ${{ env.releasename }}
body: |
${{ env.GITHUB_REPOSITORY_NAME }} VCV Rack Plugin ${{ env.GITHUB_REF_NAME }}
${{ env.GITHUB_REPOSITORY_NAME }} VCV Rack Plugin ${{ env.releasename }}
draft: false
prerelease: false
prerelease: true
- uses: actions/download-artifact@v2
with:
path: _artifacts
Expand All @@ -115,5 +113,5 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: _artifacts/**/*.vcvplugin
tag: ${{ github.ref }}
file_glob: true
tag: ${{ env.releasename }}
file_glob: true
11 changes: 9 additions & 2 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,16 @@
"description": "Patchable, branchable, network sequencer. Create a cascading intricate self modulating sequence.",
"manualUrl": "https://github.com/patheros/PathSetManuals/blob/main/modules/GlassPane.md",
"tags": [
"Sequencer",
"Random"
"Sequencer",
"Random"
]
},
{
"slug": "ShiftyExpander",
"name": "ShiftyExpander",
"hidden": true,
"description": "",
"tags": []
}
]
}
466 changes: 466 additions & 0 deletions res/ShiftyExpander.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e16c2a

Please sign in to comment.