diff options
| author | Hadrien Patte <hadrien.patte@protonmail.com> | 2024-10-27 18:58:20 +0100 |
|---|---|---|
| committer | Hadrien Patte <hadrien.patte@protonmail.com> | 2024-10-27 18:58:20 +0100 |
| commit | 9d676f88363598f4286b1579b05690af8fdf13f9 (patch) | |
| tree | 280910b1757761d8355e1b1c1d0614a4d115dd80 /bump_version | |
| parent | f0700b76d5b5d04bb736c1a82eeb6a5ec8892be9 (diff) | |
Auto update issue template version on new release
Diffstat (limited to 'bump_version')
| -rwxr-xr-x | bump_version | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bump_version b/bump_version index 72bbbfbf5..6d08dc72f 100755 --- a/bump_version +++ b/bump_version @@ -28,6 +28,7 @@ jellyfin_subprojects=( Emby.Naming/Emby.Naming.csproj src/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[@]}; do sed -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 commit git add . git status -v |
