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

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

Open
mankel08 opened this issue Jul 5, 2022 · 0 comments
Open

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

mankel08 opened this issue Jul 5, 2022 · 0 comments

Comments

@mankel08
Copy link

mankel08 commented Jul 5, 2022

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%

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