Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
🚑 Fix version tags for docker-compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
TilBlechschmidt committed Mar 6, 2021
1 parent caee9cf commit 9f84473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f84473

Please sign in to comment.