Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Get version into git archives, at least for tags?  #48

@ceball

Description

@ceball

On github release pages, e.g. https://github.com/bokeh/datashader/releases, source archives are quite prominently displayed. But if you install or import from those, you get a version of None. However, it might be possible to get the version into the archive. (Although it'll only be right for tags.)

$Format:%D$ (https://github.com/ceball/ttest/blob/v0.2.6a2/.test123) becomes HEAD -> master, tag: v0.2.6a2 (https://github.com/ceball/ttest/archive/v0.2.6a2.tar.gz, which is the link that appears on https://github.com/ceball/ttest/releases).

Need to investigate, but suggests something could be possible.

(For future reference, the placeholders are described at https://git-scm.com/docs/git-log#_pretty_formats)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions