cisagov / cisagov/.github

Add a checkbox to retarget any related tags

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
documentation good first issue hacktoberfest-accepted improvement
Dominant language
Shell
Stars
7
Forks
12
PR merge metrics
No merged PRs in 30d

Description

After a release is made we should retarget any tags that need it. For example. If the current repo is at `v1.0.0` and there is a `v1` tag that points to the same commit... when we make the `v1.0.1` release, the `v1` tag should be moved to point to the same commit.

An example of this can be found in `cyhy-config`:
- https://github.com/cisagov/cyhy-config/tags

Which is referenced by `cyhy-kevsync`:
- https://github.com/cisagov/cyhy-kevsync/blob/ecbf70842f5291cd71eca3f230bcfa9e7be814f8/setup.py#L89

An example of
```bash
git tag --force v1 v1.0.1
git push origin v1 --force
```

For extra credit, find or write a GitHub Action that can do this automatically upon the generation of a release.

https://github.com/cisagov/.github/blob/ad719dfd34c09d60bf5479bb42403784cee4d195/.github/pull_request_template.md?plain=1#L60

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.