Skip to content

%version% in commit message is not getting substituted  #133

@mankel08

Description

@mankel08

Hi,

We are using semver-resource v1.4.0. We have defined the resource as follows.

- name: dev-semver
  type: semver
  icon: pound-box
  source:
    driver: git
    uri: <some-git-repo>
    branch: master
    commit_message: "semver bump to %version%"
    file: <some-path>/dev

We do a put: dev-semver. The expectation is that value in a file <some-path>/dev would get updated with a commit message semver bump to 1.0.1 . This works perfectly fine when the resource does not do/need a rebase of the git repo.

However, when the put: dev-semver does an automatic rebase before pushing; the %version% is not substituted and remains as %version% in the commit message. Value in the file is updated correctly, only the commit message has issues.
Ex: semver bump to %version%

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