Skip to content

Commit

Permalink
Release CI: macos: make bundle names like "OctaSine v0.9"
Browse files Browse the repository at this point in the history
  • Loading branch information
greatest-ape committed Aug 3, 2023
1 parent c04af24 commit d17bbc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
# It's unclear if xtask will be affected by env vars
- name: Build and bundle plugin
run: |
echo -e "[octasine]\nname = \"OctaSine $OCTASINE_SEMVER_VERSION\"" > bundler.toml
export SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)
echo "SDKROOT=$SDKROOT"
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)
Expand All @@ -61,8 +62,8 @@ jobs:
mkdir -p "release-tmp/OctaSine/VST2"
mkdir -p "release-tmp/OctaSine/CLAP"
cd release-tmp
cp -r ../target/bundled/octasine.vst "OctaSine/VST2/OctaSine $OCTASINE_SEMVER_VERSION.vst"
cp -r ../target/bundled/octasine.clap "OctaSine/CLAP/OctaSine $OCTASINE_SEMVER_VERSION.clap"
cp -r "../target/bundled/OctaSine $OCTASINE_SEMVER_VERSION.vst" "OctaSine/VST2/OctaSine $OCTASINE_SEMVER_VERSION.vst"
cp -r "../target/bundled/OctaSine $OCTASINE_SEMVER_VERSION.clap" "OctaSine/CLAP/OctaSine $OCTASINE_SEMVER_VERSION.clap"
cargo-about generate -o "OctaSine/LICENSES.html" "../about.hbs" -m "../octasine/Cargo.toml"
zip -9 -r "../releases/OctaSine-${{ steps.get_version.outputs.VERSION }}-macOS.zip" "OctaSine"
shell: bash
Expand Down

0 comments on commit d17bbc3

Please sign in to comment.