Skip to content

Commit

Permalink
build: rename debian/ as ubuntu-ppa/
Browse files Browse the repository at this point in the history
This is to avoid a clash with downstream Debian which
also maintains a `debian/` directory.
  • Loading branch information
fujiapple852 committed Sep 15, 2024
1 parent d63a4af commit 73a404c
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/Dockerfile → ubuntu-ppa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ COPY release.sh release.sh

WORKDIR /data

CMD ["./debian/release.sh"]
CMD ["./ubuntu-ppa/release.sh"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions debian/release.sh → ubuntu-ppa/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ fi

# Vendor the cargo dependencies
cargo vendor
tar cJf debian/vendor.tar.xz vendor
tar cJf ubuntu-ppa/vendor.tar.xz vendor

for series in "${SERIES[@]}"; do
UBUNTU_VERSION=$(distro-info --series "${series}" -r | cut -d' ' -f1)
BUILD_DIR="build-${series}"
mkdir -p "${BUILD_DIR}"
cp -r debian "${BUILD_DIR}/debian"
cp -r ubuntu-ppa "${BUILD_DIR}/debian"
cd "${BUILD_DIR}"

# Update changelog for the specific series
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 73a404c

Please sign in to comment.