Skip to content
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

feat(delete), introduce --range flag to delete tags of a specific range #8844

Merged
merged 5 commits into from
Apr 30, 2024

Conversation

davidfirst
Copy link
Member

Similar to bit deprecate --range, this new flag allows deleting specific tags. For example bit delete my-comp --range 0.0.1. It marks 0.0.1 only as deleted.
This is supported in bit log, see screenshot attached.
It's also shown in the bit import and bit show output. For example, when running bit show [email protected] the "removed" is false. However, bit show [email protected] shows it as true. It also shows the range.

Note that it'll take some time for this to be reflected on bit.cloud. It should be deployed there first.

bit log
Screenshot 2024-04-30 at 3 23 30 PM

bit show
Screenshot 2024-04-30 at 4 01 50 PM

@davidfirst davidfirst merged commit 3bd0d98 into master Apr 30, 2024
11 checks passed
@davidfirst davidfirst deleted the support-deleting-by-range branch April 30, 2024 22:54
luvkapur pushed a commit that referenced this pull request May 3, 2024
…ge (#8844)

Similar to `bit deprecate --range`, this new flag allows deleting
specific tags. For example `bit delete my-comp --range 0.0.1`. It marks
0.0.1 only as deleted.
This is supported in `bit log`. It's also shown in the `bit import` and `bit show` output. 
For example, when running `bit show [email protected]` the "removed" is false. 
However, `bit show [email protected]` shows it as true. It also shows the range.
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