Skip to content

Commit

Permalink
Update update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 authored Aug 31, 2021
1 parent fbebc1d commit 7f48513
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/github-actions/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cp -r $INSTALLER_PATH update/
xml=('<?xml version="1.0"?>'
'<updates>'
' <update type="major" appVersion="VERSION" buildID="BUILDID" detailsURL="https://www.waterfox.net/blog/waterfox-BROWSER_VERSION-release" displayVersion="BROWSER_VERSION" extensionVersion="VERSION" platformVersion="VERSION" version="VERSION">'
' <patch type="complete" URL="https://cdn.waterfox.net/releases/win64/update/waterfox-classic-BROWSER_VERSION.en-US.PLATFORM.complete.xz.mar" hashFunction="SHA512" hashValue="HASH" size="SIZE"/>'
' <patch type="complete" URL="https://cdn.waterfox.net/releases/PLATFORM/update/waterfox-classic-BROWSER_VERSION.en-US.PLATFORM.complete.xz.mar" hashFunction="SHA512" hashValue="HASH" size="SIZE"/>'
' </update>'
'</updates>')

Expand All @@ -43,6 +43,9 @@ elif [[ $(uname -s) = Linux ]]
then
tar -xvf waterfox-classic-$BROWSER_VERSION.en-US.linux-x86_64.tar.bz2
chmod +x $BUILD_DIR/objdir-classic/dist/host/bin/mar
elif [[ $(uname -s) = Darwin ]]
then
chmod +x $BUILD_DIR/objdir-classic/dist/host/bin/mar
fi
MAR=$BUILD_DIR/objdir-classic/dist/host/bin/mar \
MOZ_PRODUCT_VERSION=$BROWSER_VERSION MAR_CHANNEL_ID="default" \
Expand Down

0 comments on commit 7f48513

Please sign in to comment.