# Git repo stable tag

**URL:** <https://discuss.elastic.co/t/git-repo-stable-tag/270338>\
**Category:** APM\
**Tags:** java\
**Created:** [April 16, 2021, 7:39am UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338 "2021-04-16T07:39:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrangeDog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/orangedog/32/4630_2.png) [@OrangeDog](https://discuss.elastic.co/u/OrangeDog)\
**Post date:** [April 16, 2021, 7:39am UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338/1 "2021-04-16T07:39:40Z")

</div>

The apm-agent-java repo has recently had a tag "stable" added. However, every time it is moved it is published as a new release on the RSS feeds.

I assume that's not what is intended. If it's planned to be moved any further it should probably be a branch instead. Tags are supposed to mark permanent positions in a commit history.

---

<div class="post-metadata">

**Author:** ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)\
**Post date:** [April 19, 2021, 7:11am UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338/2 "2021-04-19T07:11:52Z")

</div>

Thanks for reporting that @OrangeDog , we actually use the `stable` tag only as a "reference to the last build success on master" for CI automation, thus there should be no difference between a tag and a branch. However, we weren't aware of the effect to use a tag on Github, I'll check how we could improve that.

---

<div class="post-metadata">

**Author:** ![OrangeDog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/orangedog/32/4630_2.png) [@OrangeDog](https://discuss.elastic.co/u/OrangeDog)\
**Post date:** [April 19, 2021, 12:44pm UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338/3 "2021-04-19T12:44:52Z")

</div>

It looks like there's nothing you can do, other than stop moving tags on GitHub projects.

> **[Tag without release](https://github.community/t/tag-without-release/857)**
>
> For our projects, we are using tags which seem to create releases associated with every tag. Is there a way to stop creation of releases with each tag? I understand releases at the core are based on tags. Related discussion:...

---

<div class="post-metadata">

**Author:** ![Sylvain\_Juge](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvain_juge/32/55521_2.png) [@Sylvain\_Juge](https://discuss.elastic.co/u/Sylvain_Juge)\
**Post date:** [April 20, 2021, 8:12am UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338/4 "2021-04-20T08:12:28Z")

</div>

We are now using the `latest` branch for the same purpose, and the `stable` tag has just been removed from the repository (and is no more listed in the releases on GitHub).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 11, 2021, 4:12am UTC](https://discuss.elastic.co/t/git-repo-stable-tag/270338/5 "2021-05-11T04:12:56Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
