mirror of
https://github.com/FluxaMedia/fluxa-desktop.git
synced 2026-07-26 20:02:09 +00:00
fluxa-desktop is meant to be a thin shell over fluxa-core, but several pieces of business logic had crept into TypeScript: Trakt/Simkl similar- titles response mapping, search/discover source merging, addon fetch retry/timeout/concurrency/race policy, AnimeSkip episode matching, continue-watching week partitioning, library merge diffing, and cast/director link classification (duplicated across three components). All of it now calls the corresponding new fluxa-core methods and just executes/renders the result.
17 lines
595 B
Bash
Executable file
17 lines
595 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
if [ $# -ne 1 ]; then
|
|
echo "usage: scripts/bump-version.sh <new-version>" >&2
|
|
exit 1
|
|
fi
|
|
|
|
new_version="$1"
|
|
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
sed -i "s/^ \"version\": \".*\"/ \"version\": \"$new_version\"/" "$root_dir/package.json"
|
|
sed -i "s/^version = \".*\"/version = \"$new_version\"/" "$root_dir/src-tauri/Cargo.toml"
|
|
|
|
echo "Bumped to $new_version. Review the diff, then:"
|
|
echo " git add -A && git commit -m \"chore: bump version to $new_version\""
|
|
echo " git tag v$new_version && git push origin master v$new_version"
|