Skip to content

Commit c94ded9

Browse files
authored
chore: update .gitattributes with export-subst directives (#284)
Fixes #279.
1 parent fb4f2b8 commit c94ded9

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.gitattributes

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@
1717

1818
c/vendor/* linguist-vendored
1919
python/adbc_driver_manager/adbc_driver_manager/_static_version.py export-subst
20-
python/adbc_driver_postgres/adbc_driver_postgres/_static_version.py export-subst
20+
python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py export-subst
21+
python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py export-subst

python/adbc_driver_manager/adbc_driver_manager/_static_version.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
version = "__use_git__"
2828

2929
# These values are only set if the distribution was created with 'git archive'
30+
# NOTE: must add an export-subst to .gitattributes!
3031
refnames = "$Format:%D$"
3132
git_hash = "$Format:%h$"

python/adbc_driver_postgresql/adbc_driver_postgresql/_static_version.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
version = "__use_git__"
2828

2929
# These values are only set if the distribution was created with 'git archive'
30+
# NOTE: must add an export-subst to .gitattributes!
3031
refnames = "$Format:%D$"
3132
git_hash = "$Format:%h$"

python/adbc_driver_sqlite/adbc_driver_sqlite/_static_version.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
version = "__use_git__"
2828

2929
# These values are only set if the distribution was created with 'git archive'
30+
# NOTE: must add an export-subst to .gitattributes!
3031
refnames = "$Format:%D$"
3132
git_hash = "$Format:%h$"

0 commit comments

Comments
 (0)