mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:14:54 +02:00
During the release, reset local-oldest-requirements.txts that might have been changed during development. (#6547)
* During the release, reset local-oldest-requirements.txts that might have been changed during development. * only modify the file if it exists * no need to specifically add certbot-compatibility-test because it doesn't have the file anyway * Use double quotes instead of single * escape dots and brackets * Escape and quote correctly
This commit is contained in:
@@ -265,6 +265,16 @@ if [ "$RELEASE_BRANCH" = candidate-"$version" ] ; then
|
||||
SetVersion "$nextversion".dev0
|
||||
letsencrypt-auto-source/build.py
|
||||
git add letsencrypt-auto-source/letsencrypt-auto
|
||||
for pkg_dir in $SUBPKGS_NO_CERTBOT .
|
||||
do
|
||||
if [ -f "$pkg_dir/local-oldest-requirements.txt" ]; then
|
||||
sed -i "s/-e acme\[dev\]/acme[dev]==$version/" "$pkg_dir/local-oldest-requirements.txt"
|
||||
sed -i "s/-e acme/acme[dev]==$version/" "$pkg_dir/local-oldest-requirements.txt"
|
||||
sed -i "s/-e \.\[dev\]/certbot[dev]==$version/" "$pkg_dir/local-oldest-requirements.txt"
|
||||
sed -i "s/-e \./certbot[dev]==$version/" "$pkg_dir/local-oldest-requirements.txt"
|
||||
git add "$pkg_dir/local-oldest-requirements.txt"
|
||||
fi
|
||||
done
|
||||
git diff
|
||||
git commit -m "Bump version to $nextversion"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user