Skip to content

checking specific tag based on a semver #373

Open
@zeralight

Description

@zeralight

Hello,

Is there a way to make the get step of a git resource checkout a specific tag passed in a semver resource:

resources:
  - name: version
    type: semver
    source:
      driver: git
      uri: ssh://git@....
      branch: master
      private_key: ((private_key))
      file: version

  - name: git-source
    type: git
    source:
      uri: ssh://git@...
      branch: master
      private_key: ((private_key))

jobs:
  - name: myjob
    plan:
      - get: version
      - get: git-source
        params: { tag : version/version } # <---------------- like this

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