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

Add support 'MAJOR.MINOR' or 'MAJOR' pattern for 'version' field #5

Open
hwhsu1231 opened this issue Jun 26, 2024 · 1 comment
Open

Comments

@hwhsu1231
Copy link

hwhsu1231 commented Jun 26, 2024

Feature Request

Hello, author of doxygen-install.

I hope that this GitHub Action can support 'MAJOR.MINOR' or 'MAJOR' pattern for 'version' field.

Just like what the following GitHub Actions support:

For example. Suppose that:

  • the latest 1.y.z release of Doxygen is 1.11.0
  • the latest 1.11.z release of Doxygen is 1.11.0
  • the latest 1.10.z release of Doxygen is 1.10.0
  • the latest 1.9.z release of Doxygen is 1.9.8

I hope that this GitHub Action can automatically compute what the latest release the given pattern version is:

  • To install the latest 1.y.z release of Doxygen:

    - uses: ssciwr/doxygen-install@v1
      with:
        version: "1"

    We can get 1.11.0 release of Doxygen installed.

  • To install the latest 1.11.z release of Doxygen:

    - uses: ssciwr/doxygen-install@v1
      with:
        version: "1.11"

    We can get 1.11.0 release of Doxygen installed.

  • To install the latest 1.10.z release of Doxygen:

    - uses: ssciwr/doxygen-install@v1
      with:
        version: "1.10"

    We can get 1.10.0 release of Doxygen installed.

  • To install the latest 1.9.z release of Doxygen:

    - uses: ssciwr/doxygen-install@v1
      with:
        version: "1.9"

    We can get 1.9.8 release of Doxygen installed.

Versions

  • doxygen-install: v1.5.0
@dokempf
Copy link
Member

dokempf commented Jun 27, 2024

I agree that this would be desirable. It would require to add complexity to this (very simple) action though, as it would require knowledge of all existing Doxygen versions. I am open to suggestions and PRs.

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

2 participants