googleapis / googleapis/release-please

Skip GitHub Release but maintain Git tags for future version & changelog generation

Open
#1,295 2 comments 11 reactions 0 assignees View on GitHub
priority: p3 type: feature request
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

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

The ability to disable GitHub releases while still maintaining git tags so that changelogs and version increments for packages can be maintained.

![image](https://user-images.githubusercontent.com/7577851/153693556-32c0320a-c3ca-4eb0-b19d-15083b367399.png)

**Describe the solution you'd like**

For the `skip-github-release` to **still** create Git tags, but just skip the GitHub Release portion as suggested by the flag name.

https://github.com/googleapis/release-please/blob/7584fecd34794ed146117c80a7f37f8e64f9d0bf/src/strategies/base.ts#L381-L384

**Describe alternatives you've considered**

Another solution could be to create a new option for `skip-git-tag` to work alongside `skip-github-release` for more granular control over git tags vs. GitHub Releases.

**Additional context**

> @chingor13: The skip-github-release option only absolves release-please of its duty to handle the tagging of releases on GitHub. It **still needs to know** what the **SHA of the last release** of that **component** was (so we can determine commits since last release).

_Discovered in #1249._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.