concourse / semver-resource

automated semantic version bumping
Apache License 2.0
97 stars 105 forks source link

[Question] Combining semver with git resource #69

Closed kamsz closed 4 years ago

kamsz commented 6 years ago

Hi,

I'd like to store version in Git repository. However, I'm falling into build loop if I'm not ignoring "version" file. If I do ignore "version" file, this leads to lost commits in future jobs (as they are ignored) and I'm unable to push back to repository. Perhaps someone has an idea how to solve this?

dazigna commented 6 years ago

I'm facing the same issue, did you solve your problem ?

jdelic commented 5 years ago

In case somebody else ends up here, the answer is in the Behavior section of git-resource which says:

Any commits that contain the string [ci skip] will be ignored. This allows you to commit to your repository without triggering a new version.

glhf

taylorsilva commented 4 years ago

Closing this issue since @jdelic provides a solution.