Skip to content

Commit

Permalink
chore(MongoBinaryDownloadUrl): update for mongodb 7.0.9 and ubuntu 24.04
Browse files Browse the repository at this point in the history
though nothing changed as there are no build beyond 22.04 yet
  • Loading branch information
hasezoey committed Jun 8, 2024
1 parent 241742c commit 1d24e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {
* Highest ubuntu year supported by mongodb binaries
* @see https://www.mongodb.com/download-center/community/releases/archive
*/
const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.4
const highestUbuntuYear = 22; // 22 is the highest supported as of mongodb 7.0.9

if (ubuntuYear > highestUbuntuYear) {
log(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ describe('MongoBinaryDownloadUrl', () => {
os: {
os: 'linux',
dist: 'ubuntu',
release: '23.04', // highest released ubuntu version
release: '24.04', // highest released ubuntu version
},
});
expect(await du.getDownloadUrl()).toBe(
Expand Down

0 comments on commit 1d24e6f

Please sign in to comment.