Modify the command to describe the latest tag to gracefully handle
the scenario where no tags are available. This avoids potential
errors in the script execution when the git repository is
tagless, ensuring the CI pipeline runs smoothly under all
circumstances.
Update the version checking logic in the CI pipeline to ensure that
the script correctly identifies the latest tag. The change checks
if the latest tag is available before comparing it with the
VERSION file, improving reliability in determining if a version
bump is necessary.
This commit updates the Docker images for the pre-commit hooks in both the
Node and Go configuration files to their latest versions. This change ensures
that we are using the most recent fixes and improvements provided by the
pre-commit maintainers, enhancing performance and reliability.
Add GOPRIVATE environment variable for private repos and
create a .netrc file in the before_script to enable
authentication with GitLab. These changes ensure that
private repositories can be accessed during the CI
pipeline, improving the build process.
This change introduces GitLab CI configurations for running
pre-commit hooks on both Node and Go projects. It sets up the
pre-commit environment, ensures necessary dependencies are
installed, and runs pre-commit checks on all files to maintain
code quality and consistency. This automation helps to catch
issues early in the development process.