From 1003b2cef8b19bbfcd5870d558763bf9e62ce2ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Tue, 3 Dec 2024 09:19:08 +0100 Subject: [PATCH] fixup! Apply @apyrgio's comments --- RELEASE.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 62cedf2..a0e0ad1 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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