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

Make prefix work properly when querying and updating version #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

knorrest
Copy link

@knorrest knorrest commented Sep 20, 2021

Using prefix in project.clj doesn't work properly:

{:v {:prefix "MYPREFIX-v"}}

The problem is that the prefix is only added when creating a tag, not checked when querying for current version or updating the version. This PR fixes that by forwarding the config (and thus, the prefix) to the code that checks the version.

Side note - I was not able to run any tests.

@cch1
Copy link
Member

cch1 commented Nov 2, 2021

I'll try to look at this tonight. Seems reasonable.

@cch1
Copy link
Member

cch1 commented Nov 2, 2021

Also, regarding your side note: I'm finding that the tests fail on Java 11 due to fipp (a transitive dependency of midje). I've updated that dependency and now tests work on java 8 and java 11. Let me know what you see.

@cch1
Copy link
Member

cch1 commented Nov 2, 2021

Unfortunately 27 tests are failing for me with this PR.

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

Successfully merging this pull request may close these issues.

2 participants