Skip to content

Commit

Permalink
change platform from per-distro subdirectories to release folder, wit…
Browse files Browse the repository at this point in the history
…h platform in filename
  • Loading branch information
tyler-yankee committed Jan 15, 2025
1 parent 53b8dba commit 6b7395a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions tools/release_engineering/dev/push_release
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,8 @@ if [[ "${push_apt}" -ne 0 ]]; then
mkdir -p "${platform}"
pushd "${platform}"

filename="drake-dev_${source_version}-1_amd64.deb"

curl --fail --location --remote-name \
"https://drake-packages.csail.mit.edu/drake/release/${platform}/${filename}"
"https://drake-packages.csail.mit.edu/drake/release/drake-dev_${source_version}-1_amd64-${platform}.deb"

# Add the Debian package to the aptly database.
aptly repo add "drake-${platform}" "${filename}"
Expand Down
5 changes: 2 additions & 3 deletions tools/release_engineering/dev/push_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,8 @@ def _push_deb(state: _State):
Downloads .deb artifacts and push them to S3.
"""
for deb in state.find_artifacts(_Manifest.RE_DEB):
dest_name = f'drake-dev_{deb.version}_{deb.arch}.{deb.ext}'
dest_path = f'drake/release/{deb.platform}/{dest_name}'
state.push_artifact(deb, _AWS_BUCKET, dest_path)
dest_name = f'drake/release/drake-dev_{deb.version}_{deb.arch}-{deb.platform}.{deb.ext}'
state.push_artifact(deb, _AWS_BUCKET, dest_name)


def _push_docker(state: _State):
Expand Down

0 comments on commit 6b7395a

Please sign in to comment.