diff --git a/.git_archival.txt b/.git_archival.txt new file mode 100644 index 000000000..3e26627d4 --- /dev/null +++ b/.git_archival.txt @@ -0,0 +1,3 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true)$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..00a7b00c9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +.git_archival.txt export-subst diff --git a/hatch.toml b/hatch.toml index 9d3cd73ea..1cb850f63 100644 --- a/hatch.toml +++ b/hatch.toml @@ -14,7 +14,9 @@ packages = [ ] [metadata.hooks.vcs.urls] -'Source Archive' = 'https://github.com/antonbabenko/pre-commit-terraform/archive/{commit_hash}.tar.gz' +# FIXME: Uncomment 'Source Archive' as soon as +# FIXME: https://github.com/ofek/hatch-vcs/issues/80 is fixed. +# 'Source Archive' = 'https://github.com/antonbabenko/pre-commit-terraform/archive/{commit_hash}.tar.gz' 'GitHub: repo' = 'https://github.com/antonbabenko/pre-commit-terraform' [version]