fixup! Apply @apyrgio's comments

This commit is contained in:
Alexis Métaireau 2024-12-03 09:19:08 +01:00
parent 27d9396d12
commit 1003b2cef8
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -124,7 +124,7 @@ Here is what you need to do:
export DZ_VERSION=$(cat share/version.txt)
# Verify and checkout the git tag for this release:
git checkout v$VERSION
git checkout -f v$VERSION
# Clean the git repository
git clean -df
@ -136,11 +136,9 @@ Here is what you need to do:
poetry install --sync
```
- [ ] Only on Silicon Mac, build the container image and the OCR language data
- [ ] Build the container image and the OCR language data
```bash
# ONLY ON SILICON MAC,
# It should already be built on the Intel one.
poetry run ./install/common/build-image.py
poetry run ./install/common/download-tessdata.py
@ -197,8 +195,9 @@ The Windows release is performed in a Windows 11 virtual machine (as opposed to
#### Releasing and Signing
```bash
# In case of a new Python installation or minor version upgrade, e.g., from
- [ ] Checkout the dependencies, and clean your local copy:
```bash
# In case of a new Python installation or minor version upgrade, e.g., from
# 3.11 to 3.12, reinstall Poetry
python3 -m pip install poetry
@ -209,7 +208,7 @@ The Windows release is performed in a Windows 11 virtual machine (as opposed to
export DZ_VERSION=$(cat share/version.txt)
# Verify and checkout the git tag for this release:
git checkout v$VERSION
git checkout -f v$VERSION
# Clean the git repository
git clean -df