yeah maybe tags are my best bet, I mainly just wan...
# github-workflows-kt
t
yeah maybe tags are my best bet, I mainly just want it to be easier to update so if I just push my changes with an updated version GHA will automatically build and publish for me without me having to go in and create a tag with the same version etc.
🧵 2
v
That's not really a question for this channel. This channel is about the Kotlin lib that can generate the GitHub Workflow Yaml file. So you need to find out how to do it in regular Yaml files and then you can do it with this lib the same way.
But you can probably have a run-step that compares the version with the version in the parent commit and set an output of that run-step, then have all following steps depend on that output being set to a specific value or something like that.
a
you could try it the other way around and determine the project’s version based on the current git tag & branch, so there’s no need to edit a file https://github.com/qoomon/gradle-git-versioning-plugin
t
Oh my apologies, I read the title of this channel and assumed it was related to CI/CD. But thank you for providing insight on my question anyways, I appreciate it