Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checking specific tag based on a semver #373

Open
zeralight opened this issue Oct 15, 2021 · 0 comments
Open

checking specific tag based on a semver #373

zeralight opened this issue Oct 15, 2021 · 0 comments

Comments

@zeralight
Copy link

zeralight commented Oct 15, 2021

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
@zeralight zeralight changed the title checking specific tag based on semver checking specific tag based on a semver Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant