Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/build.yml

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2001:style:15:3: See if you can use ${variable//search/replace} instead [shellcheck]

Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ jobs:

repository="https://code.videolan.org/videolan/libudfread.git"
source="/tmp/libudfread"
patch="$GITHUB_WORKSPACE/patches/libudfread-vds-fixes.patch"
assets="/tmp/release-assets"
output="$assets/release-notes.md"
previous_version=${PREVIOUS_BRANCH#v}
Expand Down Expand Up @@ -154,26 +153,10 @@ jobs:
--detach \
"$LATEST_BRANCH"

git -C "$source" apply --check "$patch"
git -C "$source" apply "$patch"
git -C "$source" diff --check

git -C "$source" \
-c user.name="GitHub Actions" \
-c user.email="actions@github.com" \
commit \
--quiet \
-am "Apply compatibility fixes"

{
echo "## Changes"
echo
echo "**libudfread $LATEST_VERSION**"
echo
echo "Patches:"
echo
echo "- Accept nonzero UDF physical partition numbers."
echo "- Require a Primary Volume Descriptor before accepting a Volume Descriptor Sequence."

if [ -n "$PREVIOUS_BRANCH" ]; then
if ! git -C "$source" rev-parse \
Expand Down Expand Up @@ -213,7 +196,6 @@ jobs:
echo "- Native AMD64 and ARM64 Debian packages."
echo "- Multi-architecture container images are published to GHCR and Docker Hub."
echo "- libudfread is statically linked; no separate runtime package is required."
echo "- The exact patched libudfread source archive is attached to this release."
} > "$output"

git -C "$source" archive \
Expand Down Expand Up @@ -278,7 +260,6 @@ jobs:

repository="https://code.videolan.org/videolan/libudfread.git"
source="/tmp/libudfread"
patch="$GITHUB_WORKSPACE/patches/libudfread-vds-fixes.patch"

rm -rf "$source"

Expand All @@ -295,17 +276,6 @@ jobs:
echo "ERROR: Expected $UPSTREAM_TAG but checked out $resolved_tag." >&2
exit 1
fi

git -C "$source" apply --check "$patch"
git -C "$source" apply "$patch"
git -C "$source" diff --check

git -C "$source" \
-c user.name="GitHub Actions" \
-c user.email="actions@github.com" \
commit \
--quiet \
-am "Apply compatibility fixes"
-
name: Build static executable
run: |
Expand Down
12 changes: 0 additions & 12 deletions patches/libudfread-vds-fixes.patch

This file was deleted.