Skip to content

feature request: $version in source-repository/tag #1449

@dmwit

Description

@dmwit

I have my version number in two places in many of my cabal files:

version: a.b.c
source-repository this
    tag: a.b.c

It is annoying and somewhat error-prone to have this duplication: one must remember to update both places when making a release. It would be nice if there were a variable or something that could be inserted here to reduce the duplication; e.g. something like

version: a.b.c
source-repository this
    tag: $version

would be much nicer and somewhat consistent with cabal-install's configuration file format.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions