Skip to content

Commit 6d603e0

Browse files
author
jitsuineccles
authored
Fix dirty version caused by change in __init__.py (#12)
1 parent bbf573c commit 6d603e0

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

archivist/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
about.py

archivist/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
"""Archivist SDK
2-
3-
WARNING: Do **not** edit directly
4-
This file is auto-generated by ./scripts/version.sh
52
"""
6-
__version__ = "0.0.1"

scripts/version.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
#
55
version=$(python3 setup.py --version)
66

7-
cat>archivist/__init__.py <<EOF
7+
cat>archivist/about.py <<EOF
88
"""Archivist SDK
99
1010
WARNING: Do **not** edit directly
11-
This file is auto-generated by ./scripts/version.sh
11+
This file is auto-generated by ./scripts/version.sh and is
12+
not version controlled by git (ironically) as this would
13+
make the generated version from the tag 'dirty'
1214
"""
1315
__version__ = "$version"
1416
EOF

0 commit comments

Comments
 (0)