mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-23 14:09:42 +00:00
ac963d2765
Remove changelog generation as this is no longer present.
30 lines
567 B
Bash
Executable File
30 lines
567 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# bump_version - increase the shared version and generate changelogs
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o xtrace
|
|
|
|
usage() {
|
|
echo -e "bump_version - increase the shared version"
|
|
echo -e ""
|
|
echo -e "Usage:"
|
|
echo -e " $ bump_version <new_version>"
|
|
}
|
|
|
|
if [[ -z $1 ]]; then
|
|
usage
|
|
exit 1
|
|
fi
|
|
|
|
new_version="$1"
|
|
new_version_sed="$( cut -f1 -d'-' <<<"${new_version}" )"
|
|
|
|
# Bump the NPM version
|
|
npm --no-git-tag-version --allow-same-version version v${new_version_sed}
|
|
|
|
# Stage the changed files for commit
|
|
git add .
|
|
git status -v
|