From 9f844736c13864b17d3a5265ca116c2864bf9efc Mon Sep 17 00:00:00 2001 From: Til Blechschmidt Date: Sat, 6 Mar 2021 11:20:09 +0100 Subject: [PATCH] :ambulance: Fix version tags for docker-compose file --- docs/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hooks.py b/docs/hooks.py index ec03f9d3..303c5beb 100644 --- a/docs/hooks.py +++ b/docs/hooks.py @@ -22,7 +22,7 @@ def copy_docker_compose(site_dir): git_ref = os.getenv('GITHUB_REF') if git_ref is not None and git_ref.startswith('refs/tags/'): version = git_ref[10:] - filedata = filedata.replace(':latest', ':v0.0.1') + filedata = filedata.replace(':latest', ':' + version) print("Overwriting docker-compose version with git tag '" + version + "'") # Write the file out again