Latest summary: If you simply want to deploy the latest Long-Term Support (LTS) version, you only need to modify containers/app.yml.
# Add the following configuration at the end
params:
version: esr
Then, rebuild the container. If you encounter any errors during the build, it is most likely a network issue, especially for users in China.
If you encounter an Oops error, please refer to this post: Oops error - Support - Discourse Meta
david
(David Taylor)
March 30, 2026, 8:49am
25
We use this command inside an if [[ ]] statement to check whether the supplied ref is the same as the current branch. For tags and non-latest branches, it is expected to fail, so then we hit the ‘else’ branch of the if statement.
That will run a git checkout ..., which does work with tags.
singi2016cn:
Latest summary: If you only want to deploy the latest Long-Term Support (LTS) version, simply modify containers/app.yml:
# Add the following configuration at the end
params:
version: esr
Then rebuild
Great, glad to hear you got it working!
2 Likes
pfaffman
(Jay Pfaffman)
March 30, 2026, 6:36pm
26
That’s going to cause you problems when launcher tries to pull in the latest version.
You’ll want to git stash or git checkout templates/web.template.yml
1 Like