Concourse semver resourcetype


I am trying to use the semver resource

- name: version
    type: semver
      driver: git
      initial_version: 0.0.0
      branch: version
      file: version
      private_key:  ((github-enterprise.private-key)) 

and i get the following error

error bumping version: private keys with passphrases are not supported

get the same error when i use

private_key: |
private_key: ((github-enterprise.private-key))

Appreciate any suggestions in fixing the error.

It seems your SSH key is password-protected.

I am also looking for best solution for bumping version specially in maven case. is there any working reference for semver and how it will bump the version.

I’ve just hit a similar issue with the version resource.
When intercepting the resource check container, it turned out the /tmp/private-key file was missing a newline character after the private key.
So, the workaround solution was to take care keeping that newline in the resource definition:

- name: version
  type: semver
    private_key: |+ # the 'version' resource is picky about the ending newline

Hope this might give some hint to any one hitting similar issue!