Thanks for clarifying: that’s exactly the part I was missing. For those who are confused in the same way I was, getting a release tag of discourse can be done by:
- Making sure the version parameter is not set in
app.yml
, for instance:params: db_default_text_search_config: "pg_catalog.english" # version: stable
- Adding code to checkout the desired version towards the end of
app.yml
, for instance:hooks: after_code: - exec: cd: $home/plugins cmd: - git clone https://github.com/discourse/docker_manager.git + - exec: + cd: $home + cmd: + - git fetch --depth=1 origin tag v2.5.0 --no-tags + - git checkout v2.5.0
When running ./launcher rebuild app
here is what happens:
- The default version (i.e. the test_passed branch) is checked out.
- The v2.5.0 tag is fetched and checked out, effectively replacing the previous version