Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use git commit in version if built from git #289

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Commits on Oct 22, 2024

  1. Generate version including git commit

    Use git describe to get the current commit and other information to set
    VERSION in config.h, when we are not using a tarball release. The file
    ".tarball-version" stores the version inside the tarball, so it is fixed
    for releases. The .version file is not used, so no need to generate it.
    
    If the git program is not present when running autogen.sh, the version
    will be set to UNKNOWN. This situation will be very rare as you will
    need git to fetch the sources, but continues to allow building Dillo
    without the git program.
    
    Fixes: #288
    rodarima committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    708d5d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7714510 View commit details
    Browse the repository at this point in the history