Skip to content

Commit

Permalink
Add tag listener to workflow
Browse files Browse the repository at this point in the history
'
  • Loading branch information
maxwellmattryan committed Nov 15, 2024
1 parent 4d04134 commit 831212c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:
inputs:
stage:
Expand Down Expand Up @@ -130,7 +133,7 @@ jobs:
path: packaging/${{ env.ARTIFACT_NAME }}.dmg

Release:
# if: startsWith(github.event.ref, 'refs/tags/v')
if: startsWith(github.event.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: [ Package ]
steps:
Expand Down
24 changes: 0 additions & 24 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
start_time=$(date +%s)

COPY_BUILD_STEP=false
PRECOMPILE_STEP=false
DAW_TO_OPEN=
REMOVE_PREV_BUILD=false
BUILD_TYPE=Debug
Expand All @@ -19,10 +18,6 @@ for i in "$@"; do
COPY_BUILD_STEP=true
shift
;;
-p|-precompile)
PRECOMPILE_STEP=true
shift
;;
-d=*|--daw=*)
DAW_TO_OPEN="${i#*=}"
shift
Expand All @@ -43,25 +38,6 @@ if [ ${REMOVE_PREV_BUILD} = true ]; then
echo -e "[Success] Removed previous build's folders!\n"
fi

#if [ ! -d "./vendor/juce/build" ]; then
# cd ./vendor/juce
#
# echo -e "Configuring JUCE...\n"
# cmake -B bin . -DCMAKE_BUILD_TYPE="$BUILD_TYPE"
# echo -e "\n[Success] Configured JUCE build!\n"
#
# echo -e "Building JUCE...\n"
# cmake --build bin --parallel 8
# echo -e "\n[Success] Built JUCE libraries and targets!\n"
#
# cd ../../
#fi

if [ ${PRECOMPILE_STEP} = true ]; then
scripts/precompile.sh -b=${BUILD_TYPE}
echo -e "\n[Success] Precompiled binary resources!\n"
fi

echo -e "Configuring ${PLUGIN_NAME}...\n"
cmake -B bin . -DCMAKE_BUILD_TYPE="$BUILD_TYPE"
echo -e "\n[Success] Configured plugin build!\n"
Expand Down

0 comments on commit 831212c

Please sign in to comment.