Updates the CI script to improve version retrieval and checking logic.
Replaces direct calls to the VERSION file with reading from a
`.version` JSON file, ensuring proper version management. Handles
the creation and updating of the CHANGELOG and .version files to
enhance the release process. Adjusts conditions for executing
release tasks based on current tags and branches to prevent
unnecessary executions.
Refactor the changelog generation command in the CI configuration.
Use consistent quotation marks in the command to enhance readability
and avoid potential issues with shell parsing.
Correct the quote style in the changelog generation script for
consistency and adherence to shell syntax. The change improves
readability and reduces potential parsing issues.
Update the command in the GitLab CI configuration to properly escape
single quotes in the `sed` command for generating the CHANGELOG.md. This
ensures that the command executes correctly in the CI environment,
preventing potential syntax errors during the build process.
Updates the changelog generation command to remove trailing whitespace
before writing to CHANGELOG.md. This ensures a cleaner output and
maintains consistency in formatting.
Updates the pre-commit Docker image to version 0.2.8 to leverage
improvements and fixes in the latest release. This enhances the
quality of the pre-commit hooks used during CI/CD processes.
Change the Docker image for multiple CI jobs from alpine:latest
to amd64/alpine:3.22.0 to ensure compatibility and improve
stability of the build environment. This upgrade addresses
potential vulnerabilities and ensures the use of a more
secure and reliable base image.
Adds a default retry configuration for CI jobs to handle
various failure scenarios. This improves the robustness of
the pipeline by allowing automatic retries for jobs that
fail due to temporary issues.
Update the git-cliff Docker image version to 2.7.0 for enhanced
features and fixes. This change applies to both the release
preparation and changelog stages in the CI configuration.