mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 20:52:57 +08:00
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:
11
.github/scripts/update-version-patch.sh
vendored
Executable file
11
.github/scripts/update-version-patch.sh
vendored
Executable 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
|
||||
|
Reference in New Issue
Block a user