The Free Software Media System - Server Backend & API
Auto update issue template version on new release
Hadrien Patte9d676f883635
diff --git a/bump_version b/bump_versionindex 72bbbfbf51..6d08dc72fe 100755--- a/bump_version+++ b/bump_version@@ -28,6 +28,7 @@ jellyfin_subprojects=(Emby.Naming/Emby.Naming.csprojsrc/Jellyfin.Extensions/Jellyfin.Extensions.csproj)+issue_template_file="./.github/ISSUE_TEMPLATE/issue report.yml"new_version="$1"new_version_sed="$( cut -f1 -d'-' <<<"${new_version}" )"@@ -56,6 +57,9 @@ for subproject in ${jellyfin_subprojects[@]}; dosed -i "s|${old_version}|${new_version_sed}|g" ${subproject}done+# Set the version in the GitHub issue template file+sed -i "s|${old_version}|${new_version_sed}|g" ${issue_template_file}+# Stage the changed files for commitgit add .git status -v