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

proposal: Allow SemVer compatible updates #283

Open
Blisto91 opened this issue Jul 30, 2020 · 1 comment
Open

proposal: Allow SemVer compatible updates #283

Blisto91 opened this issue Jul 30, 2020 · 1 comment
Assignees
Labels

Comments

@Blisto91
Copy link

Blisto91 commented Jul 30, 2020

Is your feature request related to a problem? Please describe.

Unless i'm missing something the current version only allows getting a specific release version or the latest.
I would like to be able to get the latest SemVer compatible version.
So if i were using the 0.3 version of mdbook it would automatically get 0.3.1, 0.3.2, 0.3.3 etc. as they were released.

Describe the solution you'd like

Allow a syntax like '^0.3' to get the latest minor version.
A separate SemVer option that could be set to true could also be fine

Describe alternatives you've considered

Updating the version manually so when 0.4.2 gets released i would have to update my CI.
I could also try fetching the latest minor version outside of this action and then supply that

Additional context
Examples from the actions-rs/cargo action

      - name: install mdbook
        uses: actions-rs/cargo@v1
        with:
          command: install
          args: --vers "^0.3" mdbook
@peaceiris
Copy link
Owner

Thank you for the suggestion. I will consider this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants