Promoting a Release tag is a common practice in software development that involves moving a tag from one state to another. This is typically from a lower environment(such as staging), to a higher environment(like production). The purpose of this process is to ensure that all changes, including new translations or modifications, are tested and verified before they’re made available to end users. This helps maintain the quality and integrity of your localized content.
How does the process work? While translators and contributors are actively translating your project into more languages, you can test your staging tag. Once you’re satisfied with the state of the staging tag, you can promote it to production. This is done by invoking a command like localazy tag promote staging production
or localazy tag promote staging v1.0
.
What happens when a tag is promoted? When a tag is promoted, it overwrites the old tag or creates a new one, depending on whether a tag with the same name already exists. The state from the source tag (in this case, the staging tag) is published to the target tag (the production tag). This involves re-running the whole publishing chain, which ensures that the target tag accurately reflects the state of the source tag.
What are the benefits of promoting a Release tag? Promoting a Release tag ensures that your production environment always reflects the most stable and tested version of your project. This means that your end users always have access to the most reliable and high-quality localized content. It also allows you to manage the release process more effectively, as you can control when and how new changes are released to end users.
Find out more about release tags.