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 extraction is not working correctly #6

Closed
forgedhallpass opened this issue Jun 22, 2021 · 1 comment
Closed

Version extraction is not working correctly #6

forgedhallpass opened this issue Jun 22, 2021 · 1 comment

Comments

@forgedhallpass
Copy link

With the following pom.xml config:

<version>${revision}${changelist}</version>
...
<properties>
        <revision>1.0.0</revision>
        <changelist>-SNAPSHOT</changelist>
...

The following command both locally and in the GitHub workflow, evaluates to 1.0.0-SNAPSHOT instead of 1.0.0

version=$(mvn -B -ntp -Dset.changelist -Dexpression=project.version -q -DforceStdout help:evaluate)

making the action unusable.

I want(ed) to make an automated release workflow that is triggered only manually without relying on "interesting categories" extracted from the commit messages. Would be nice to support such a scenario..

@jglick
Copy link
Contributor

jglick commented Dec 2, 2021

Currently this action only supports repositories updated to use JEP-229 metadata.

@jglick jglick closed this as completed Dec 2, 2021
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 a pull request may close this issue.

2 participants