FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Combine branch and tag push into a single push · Issue #1187 · python-semantic-release/python-semantic-release · GitHub

Repository navigation

Combine branch and tag push into a single push #1187

Description

Feature Request

Description

I was puzzled at first why I had two separate CI/CD pipelines being triggered when using the command semantic-release version. After a little digging, lines 673-690 in the python-semantic-release/src/semantic_release/cli/commands/version.py file show that two independent pushes are made; one for the branch and one for the tag.

Using plain git, these can be combined into a single push, so I'm wondering if it would be possible to check for commit_changes and create_tag to both be true and execute a single git push. If either are untrue, then the current functionality would be used.

I am using version 9.19.1.

Use cases

This would reduce some of the network traffic and slightly speed up the command.

For those who run CI/CD pipelines triggered by individual git pushes, this would reduce duplicate pipelines. For context, I use GitLab, but run semantic-release manually, outside of a CI/CD pipeline.

Possible implementation

See the description.

Alternative solutions

Activity

  1. added
    featureA new feature or a feature request
    triagewaiting for initial maintainer review
    on Feb 14, 2025
  2. ddeepwell commented on Feb 14, 2025

    Author

    I should add that I'm open to making a PR for this, if it is welcome.

  3. codejedi365 commented on Feb 15, 2025

    Contributor

    I should be able to make this happen. Thanks for the willingness to help on this front but I already do have a refactor of the version command implementation underway and we would likely cause merge conflicts at the current time. I'll wrap your performance recommendation into the refactor.

  4. added
    confirmedPrevent from becoming stale
    and removed
    triagewaiting for initial maintainer review
    on Feb 15, 2025
  5. github-actions commented on Apr 16, 2025

    It has been 60 days since the last update on this confirmed issue. @python-semantic-release/team can you provide an update on the status of this issue?

  6. codejedi365 commented on Apr 17, 2025

    Contributor

    Still in backlog

  7. github-actions commented on Jun 17, 2025

    It has been 60 days since the last update on this confirmed issue. @python-semantic-release/team can you provide an update on the status of this issue?

  8. codejedi365 commented on Jun 18, 2025

    Contributor

    Started back on the performance refactor, hopefully will have this implemented in the next few months.

  9. github-actions commented on Sep 17, 2025

    It has been 90 days since the last update on this confirmed issue. @python-semantic-release/team can you provide an update on the status of this issue?

  10. codejedi365 commented on Sep 24, 2025

    Contributor

    Still in backlog

  11. github-actions commented on Dec 23, 2025

    It has been 90 days since the last update on this confirmed issue. @python-semantic-release/team can you provide an update on the status of this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedPrevent from becoming stalefeatureA new feature or a feature requestneeds-updateNeeds status update from maintainers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL