Skip to content

Commit

Permalink
Merge pull request #30 from AOSC-Dev/x-aosc-commit-lf
Browse files Browse the repository at this point in the history
fix: add LF after the value of X-AOSC-Commit
  • Loading branch information
eatradish authored Aug 20, 2024
2 parents be1d70a + 84549df commit 859f207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acbs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '20240810.1'
__version__ = '20240815'
2 changes: 1 addition & 1 deletion acbs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def generate_metadata(task: ACBSPackageInfo) -> str:
['git', 'describe', '--always', '--dirty'], cwd=task.script_location).decode('utf-8').strip()
except subprocess.CalledProcessError as ex:
logging.warning(f'Could not determine tree commit: {ex}')
return f'X-AOSC-ACBS-Version: {__version__}\nX-AOSC-Commit: {tree_commit}'
return f'X-AOSC-ACBS-Version: {__version__}\nX-AOSC-Commit: {tree_commit}\n'


def generate_version_stamp(task: ACBSPackageInfo) -> str:
Expand Down

0 comments on commit 859f207

Please sign in to comment.