Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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