diff --git a/Changelog.md b/Changelog.md index 6e89aad..4af7dbd 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,24 @@ +# 1.0.4-alpha: +Changes: +- Beats are now the canonical time representation (replacing seconds) +- Tempo can now be non-constant (variable BPM) +- All events now have time references in seconds, measures/beats, and frames +- Add piano roll note snapping +- Snap to beats in measures mode +- Add velocity and modulation editing +- Add pitch bend support +- Add automation inputs for audio graphs +- Add automatable volume and pan controls to default instruments +- Add count-in and metronome +- Add drawing tablet input support +- Set default timeline mode based on activity +- Tweaked automation lane appearance +- Double CPU rendering performance by switching to tiny-skia + +Bugfixes: +- Fix MIDI track recording previews +- Fix timeline elements not updating on BPM changes + # 1.0.3-alpha: Changes: - Add gradient support to vector graphics diff --git a/create_release.sh b/create_release.sh index 9d8f7bd..10cff6b 100755 --- a/create_release.sh +++ b/create_release.sh @@ -1,33 +1,31 @@ #!/bin/bash -# Ensure the script stops on error set -e -# Check if a version argument was passed if [ -z "$1" ]; then - echo "Usage: ./create-release.sh " + echo "Usage: ./create_release.sh " exit 1 fi VERSION=$1 RELEASE_BRANCH="release" -MAIN_BRANCH="main" -CONFIG_FILE="src-tauri/tauri.conf.json" +MAIN_BRANCH=$(git rev-parse --abbrev-ref HEAD) +CARGO_TOML="lightningbeam-ui/lightningbeam-editor/Cargo.toml" -echo "Updating version to $VERSION in $CONFIG_FILE..." -jq --arg version "$VERSION" '.version = $version' $CONFIG_FILE > tmp.json && mv tmp.json $CONFIG_FILE +echo "Updating version to $VERSION in $CARGO_TOML..." +sed -i "0,/^version = .*/s/^version = .*/version = \"$VERSION\"/" "$CARGO_TOML" -echo "Committing to main..." -git add $CONFIG_FILE -git commit -m "Bump version to $VERSION" +echo "Committing to $MAIN_BRANCH..." +git add "$CARGO_TOML" Changelog.md +git diff --cached --quiet || git commit -m "Bump version to $VERSION" echo "Checking out the release branch..." git checkout $RELEASE_BRANCH -echo "Merging the main branch into $RELEASE_BRANCH..." +echo "Merging $MAIN_BRANCH into $RELEASE_BRANCH..." git merge $MAIN_BRANCH --no-ff -m "Release $VERSION" -echo "Pushing changes to the release branch..." +echo "Pushing $RELEASE_BRANCH..." git push origin $RELEASE_BRANCH git checkout $MAIN_BRANCH