]> jfr.im git - yt-dlp.git/commitdiff
[cleanup] Build files cleanup
authorbashonly <redacted>
Sun, 11 Feb 2024 16:35:27 +0000 (17:35 +0100)
committerSimon Sawicki <redacted>
Sun, 11 Feb 2024 18:09:03 +0000 (19:09 +0100)
- Fix `AUTHORS` file by doing an unshallow checkout
- Update triggers for nightly/master release

Authored by: bashonly

.github/workflows/release-master.yml
.github/workflows/release-nightly.yml
.github/workflows/release.yml

index 2430dc5f88b8587b1cdeed481530b45cb865b5da..a84547580b47712909e52832740cb17cc7561c56 100644 (file)
@@ -8,6 +8,8 @@ on:
       - "!yt_dlp/version.py"
       - "bundle/*.py"
       - "pyproject.toml"
+      - "Makefile"
+      - ".github/workflows/build.yml"
 concurrency:
   group: release-master
 permissions:
index 16d5838466183783a8babead47736ada31997a9e..f459a3a17e542758d08ce334f85ecf0b173e0d4c 100644 (file)
@@ -18,7 +18,14 @@ jobs:
       - name: Check for new commits
         id: check_for_new_commits
         run: |
-          relevant_files=("yt_dlp/*.py" ':!yt_dlp/version.py' "bundle/*.py" "pyproject.toml")
+          relevant_files=(
+            "yt_dlp/*.py"
+            ':!yt_dlp/version.py'
+            "bundle/*.py"
+            "pyproject.toml"
+            "Makefile"
+            ".github/workflows/build.yml"
+          )
           echo "commit=$(git log --format=%H -1 --since="24 hours ago" -- "${relevant_files[@]}")" | tee "$GITHUB_OUTPUT"
 
   release:
index 1653add4f09e16859a54d1470c50cc6724196a85..eded11a13556d3befa1b2a3d6dce09c09a8a412c 100644 (file)
@@ -246,6 +246,8 @@ jobs:
 
     steps:
       - uses: actions/checkout@v4
+        with:
+          fetch-depth: 0
       - uses: actions/setup-python@v4
         with:
           python-version: "3.10"