Cherry pick eachdist.py changes to main from release/v1.28.x-0.49bx branch (#3018)

* Fix prepare patch release workflow (#3013)

* Fix eachdist.py patch release to respect "all" and "excluded" (#3016)
This commit is contained in:
Aaron Abbott
2024-11-18 12:29:35 -05:00
committed by GitHub
parent 803bb322ba
commit 23f67eb77b
3 changed files with 83 additions and 1 deletions

11
.github/scripts/update-version-patch.sh vendored Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash -e
sed -i "/\[stable\]/{n;s/version=.*/version=$1/}" eachdist.ini
sed -i "/\[prerelease\]/{n;s/version=.*/version=$2/}" eachdist.ini
./scripts/eachdist.py update_patch_versions \
--stable_version=$1 \
--unstable_version=$2 \
--stable_version_prev=$3 \
--unstable_version_prev=$4