Skip to content

Improve V2 workflow and make backwards compatible #7

@thehomebrewnerd

Description

@thehomebrewnerd

V2 of the workflow changed the way that the library version number is obtained in build.sh. This change means that V2 of the workflow will not work on repos that are not set up to use pyproject.toml and setup.cfg files. V2 also assumes that a file names <libname>/version.py will be present, and this script will fail if the version number is stored elsewhere.

We should update this action to implement a better, more robust method for obtaining the version number, and also make it backward compatible, if possible, to work on repos that still utilize setup.py.

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