File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -227,11 +227,15 @@ else
227227 BUNDLE_DIR=$( readlink -f " $PWD /../target/release/bundle" )
228228fi
229229
230- # The release dir determines a (significant portion of) the final S3 object key.
230+ # The release dir determines a (significant portion of) the S3 object keys for
231+ # the artifacts.
231232RELEASE_DIR=" $DIST /$OS /$ARCH "
232- if [ " $OS " = " linux" ]; then
233- # We build for multiple linux distros and need distinct keys for them.
234- RELEASE_DIR=" $DIST /$OS /$( lsb_release -cs) /$ARCH "
233+ if [ " $OS " = " linux" ] && [ $( lsb_release -cs) = " noble" ]; then
234+ # Our default Linux build is Ubuntu jammy (22.04). We still build for noble
235+ # (24.04) but put the builds in a hidden-away part of the S3 bucket. The
236+ # primary reason for this build existing is that the noble-built AppImage
237+ # tends to work better with newer distros than the jammy-built AppImage.
238+ RELEASE_DIR=" $DIST /$OS -$( lsb_release -cs) /$ARCH "
235239fi
236240
237241echo " Resolved RELEASE_DIR=$RELEASE_DIR "
You can’t perform that action at this time.
0 commit comments