Skip to content

How to ensure the build is using the same git hash #35

@drekka

Description

@drekka

So I have a flow where the first job gets the version data using your action, then the second job does a series of builds based on a matrix. Now if I want the version to locate the latest tag, I assume I'm going to need to pass something to the build job so it can also checkout that same tag.

I figure I can do it by re-contructing the tag from the passed version data and telling checkout to retrieve that tag. But I'm wondering if there is a better way, or perhaps whether semver could also publish the hash of the tag.

Thoughts?

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