Skip to content

Fix docs on check-less usage #165

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

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

Conversation

snarlysodboxer
Copy link

The docs on checkless usage don't work as is. I found out it does work if you do it the way seen in my proposed changes.

Thanks!

Signed-off-by: david amick <[email protected]>
@taylorsilva
Copy link
Member

If this isn't working:

- put: semver
  params:
    bump: major

Then I would consider that a bug. We can see here that bump is intended to be supported by the put step:

type OutParams struct {
File string `json:"file"`
Bump string `json:"bump"`
Pre string `json:"pre"`
Build string `json:"build"`
PreWithoutVersion bool `json:"pre_without_version"`
BuildWithoutVersion bool `json:"build_without_version"`
GetLatest bool `json:"get_latest,omitempty"`
}

@snarlysodboxer
Copy link
Author

snarlysodboxer commented Mar 20, 2025

If this isn't working:

It's not that bump isn't working with put, it's that bump isn't working with put when you set get_latest: true, for checkless usage. Maybe because of the implied get?

I get an unbumped number when I do this:

  - put:
    params:
      get_latest: true
      bump: patch

My starting number is 0.0.0, and it's still that after this put.

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