semantic-release / semantic-release/git

[feature request] : push tag on publish phase

Open
#405 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
339
Forks
75
Avg merge
5h 15m
Merged PRs (30d)
6

Description

We have issues when a publish step fails : the tag is already pushed and then we cannot retry the release because semantic-release will consider the branch as behind.

Is it possible to push tag only on publish phase ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the plugin's release and publish-phase handling to locate where the tag is pushed relative to publish failures. Trace the retry behavior described in the issue and verify that a failed publish leaves the branch retryable while a successful publish still creates the tag.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.