Skip to content

Commit c31aaae

Browse files
Jan EilJan Eil
authored andcommitted
Set git tag equal to docker tag
1 parent 140b7b2 commit c31aaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre_commit_mirror_maker/make_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def git(*cmd: str) -> None:
6868
# Commit and tag
6969
git('add', '.')
7070
git('commit', '-m', f'Mirror: {version}')
71-
git('tag', f'v{version}')
71+
git('tag', f'v{version}' if language != 'docker_image' else version)
7272

7373

7474
def make_repo(repo: str, *, language: str, name: str, **fmt_vars: str) -> None:

0 commit comments

Comments
 (0)