diff options
author | bashonly <bashonly@protonmail.com> | 2024-02-11 17:35:27 +0100 |
---|---|---|
committer | Simon Sawicki <contact@grub4k.xyz> | 2024-02-11 19:09:03 +0100 |
commit | 867f637b95b342e1cb9f1dc3c6cf0ffe727187ce (patch) | |
tree | c39c734a70db92b591b239b083aff5640952eb04 | |
parent | 920397634d1e84e76d2cb897bd6d69ba0c6bd5ca (diff) |
[cleanup] Build files cleanup
- Fix `AUTHORS` file by doing an unshallow checkout
- Update triggers for nightly/master release
Authored by: bashonly
-rw-r--r-- | .github/workflows/release-master.yml | 2 | ||||
-rw-r--r-- | .github/workflows/release-nightly.yml | 9 | ||||
-rw-r--r-- | .github/workflows/release.yml | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/release-master.yml b/.github/workflows/release-master.yml index 2430dc5f8..a84547580 100644 --- a/.github/workflows/release-master.yml +++ b/.github/workflows/release-master.yml @@ -8,6 +8,8 @@ on: - "!yt_dlp/version.py" - "bundle/*.py" - "pyproject.toml" + - "Makefile" + - ".github/workflows/build.yml" concurrency: group: release-master permissions: diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 16d583846..f459a3a17 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1653add4f..eded11a13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -246,6 +246,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: actions/setup-python@v4 with: python-version: "3.10" |