Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: Can't run bump and tag together #44

Closed
1 task done
emilrowland opened this issue Oct 30, 2021 · 2 comments · Fixed by #46
Closed
1 task done

[Bug]: Can't run bump and tag together #44

emilrowland opened this issue Oct 30, 2021 · 2 comments · Fixed by #46
Assignees
Labels
bug Something isn't working triage Issue has been added to our triage list

Comments

@emilrowland
Copy link

What happened?

If I first run the bump script it will create a commit like "ci(bump): bumped version to v1.1.4" and then it will run the tag script but it will responde with "no change in version needed commit=ci(bump): bumped version to v1.1.4" so the commit never gets a tag.

Steps to reproduce it

1. run uplift bump
2. run uplift tag

Your uplift configuration

firstVersion: v1.0.0
annotatedTags: false

commitAuthor:
  name: "..."
  email: "..."
bumps:
  - # The path of the file relative to where uplift is executed
    file: ./pubspec.yaml
    regex: "version: $VERSION"
    semver: true

Which version?

1.2.0

Which operating system(s) are you using?

Linux, Windows

Optional debug output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@emilrowland emilrowland added bug Something isn't working triage Issue has been added to our triage list labels Oct 30, 2021
@ga-paul-t
Copy link
Collaborator

Thanks, @emilrowland for raising the issue. I was looking to include an additional release command to the CLI which would remove the need to run a single operation in turn. I am in the process of adding the ability to create a changelog, which will also be exposed through a new changelog command. I'll park that and focus on adding this release capability.

@ga-paul-t
Copy link
Collaborator

I have added a new release command. I have kept it basic for now. It effectively combines the workflow of both bumping files and tagging the changes in a combined operation

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working triage Issue has been added to our triage list
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants