Skip to content

Commit

Permalink
faketime
Browse files Browse the repository at this point in the history
  • Loading branch information
legoktm committed Aug 8, 2023
1 parent 1f1ee9f commit 77e6ed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:
- name: Install dependencies
run: |
apt-get update && apt-get install --yes python3 git git-lfs createrepo-c
apt-get update && apt-get install --yes python3 git git-lfs createrepo-c faketime
- name: Checkout
uses: actions/checkout@v3
with:
Expand Down
1 change: 1 addition & 0 deletions tools/publish-real
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def main():
print(f"Generating metadata for {folder}")
args = ["createrepo_c"]
if source_date_epoch:
args = ["faketime", f"@{source_date_epoch}", "createrepo_c"]
# The <revision> and <timestamp> fields are set to the current UNIX time
# unless we explicitly override them. In most cases we want to use
# the current time except when we're doing reproducibility testing.
Expand Down

0 comments on commit 77e6ed8

Please sign in to comment.