Skip to content

Commit

Permalink
revert filename change for aptly package database
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-yankee committed Jan 23, 2025
1 parent b92f502 commit 0d46fc3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/release_engineering/dev/push_release
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,14 @@ if [[ "${push_apt}" -ne 0 ]]; then
mkdir -p "${platform}"
pushd "${platform}"

filename="drake-dev_${source_version}-1_amd64-${platform}.deb"
readonly remote_filename="drake-dev_${source_version}-1_amd64-${platform}.deb"
readonly local_filename="drake-dev_${source_version}-1_amd64.deb"

curl --fail --location --remote-name \
"https://drake-packages.csail.mit.edu/drake/release/${filename}"
curl --fail --location -o "${local_filename}" \
"https://drake-packages.csail.mit.edu/drake/release/${remote_filename}"

# Add the Debian package to the aptly database.
aptly repo add "drake-${platform}" "${filename}"
aptly repo add "drake-${platform}" "${local_filename}"
aptly snapshot create "drake-${platform}-${source_version}" \
from repo "drake-${platform}"

Expand Down

0 comments on commit 0d46fc3

Please sign in to comment.