mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Tweak release process
This commit is contained in:
parent
01be7194e3
commit
c754f51e02
4 changed files with 42 additions and 2 deletions
6
.github/workflows/release.yaml
vendored
6
.github/workflows/release.yaml
vendored
|
|
@ -15,10 +15,14 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: "Run script"
|
- name: "Build"
|
||||||
run: |
|
run: |
|
||||||
./ci/build.sh
|
./ci/build.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
|
- name: "Upload"
|
||||||
|
run: |
|
||||||
|
./ci/upload.sh
|
||||||
|
shell: bash
|
||||||
env:
|
env:
|
||||||
APPLICATION: ${{ secrets.APPLICATION }}
|
APPLICATION: ${{ secrets.APPLICATION }}
|
||||||
INSTALLER: ${{ secrets.INSTALLER }}
|
INSTALLER: ${{ secrets.INSTALLER }}
|
||||||
|
|
|
||||||
26
ci/upload.sh
Executable file
26
ci/upload.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
set +x
|
||||||
|
|
||||||
|
PLUGIN="Wavetable"
|
||||||
|
|
||||||
|
ROOT=$(cd "$(dirname "$0")/.."; pwd)
|
||||||
|
cd "$ROOT"
|
||||||
|
echo "$ROOT"
|
||||||
|
|
||||||
|
# Upload mac version
|
||||||
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
|
cd "$ROOT/ci/bin"
|
||||||
|
curl -F "files=@${PLUGIN}_Mac.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Upload linux version
|
||||||
|
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||||
|
cd "$ROOT/ci/bin"
|
||||||
|
curl -F "files=@${PLUGIN}_Linux.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Upload Win version
|
||||||
|
if [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
||||||
|
cd "$ROOT/ci/bin"
|
||||||
|
curl -F "files=@${PLUGIN}_Win.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
|
||||||
|
fi
|
||||||
|
|
@ -23,7 +23,7 @@ WavetableAudioProcessorEditor::WavetableAudioProcessorEditor (WavetableAudioProc
|
||||||
|
|
||||||
addChildComponent (modOverview);
|
addChildComponent (modOverview);
|
||||||
|
|
||||||
usage.setBounds (45, 12, 70, 16);
|
usage.setBounds (45, 12, 80, 16);
|
||||||
modOverview.setBounds (usage.getRight() + 10, 12, 150, 16);
|
modOverview.setBounds (usage.getRight() + 10, 12, 150, 16);
|
||||||
scope.setBounds (704, 5, 187, 30);
|
scope.setBounds (704, 5, 187, 30);
|
||||||
|
|
||||||
|
|
|
||||||
10
tag.sh
Executable file
10
tag.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
ROOT=$(pwd)
|
||||||
|
|
||||||
|
cd $ROOT
|
||||||
|
|
||||||
|
VER=`cat VERSION`
|
||||||
|
echo "Tagging [$VER]"
|
||||||
|
git tag "$VER" && git push origin "$VER"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue