diff --git a/scripts/release-sign-extension.sh b/scripts/release-sign-extension.sh index 8013cd28df7d09c50b5c797755e63c7443bbc552..ebf8c4ab1a403535570357d1cb6dcbf421edc28e 100755 --- a/scripts/release-sign-extension.sh +++ b/scripts/release-sign-extension.sh @@ -66,5 +66,5 @@ if [[ -f "${XPI_FILE}" ]]; then cd ${PROJECT_DIR}/dist/web/build/ # add a 'v' before version - mv ${XPI_BASENAME} ${PROJECT_NAME}-v$current-an+fx.xpi + mv ${XPI_BASENAME} ${PROJECT_NAME}-v$current-extension-firefox.xpi fi diff --git a/scripts/release-to-github.sh b/scripts/release-to-github.sh index 88f19c402cb26a9d2595c080e89a019bbc8d5d90..24fa6f37933f3ce759fe1bccb7a9d53fbdd1c077 100755 --- a/scripts/release-to-github.sh +++ b/scripts/release-to-github.sh @@ -129,8 +129,8 @@ else fi # Upload web extension (XPI) file -WEB_EXT_XPI_BASENAME="${PROJECT_NAME}-v$current-an+fx.xpi" -WEB_EXT_XPI_FILE="${DIST_WEB}/${WEB_EXT_BASENAME}" +WEB_EXT_XPI_BASENAME="${PROJECT_NAME}-v$current-extension-firefox.xpi" +WEB_EXT_XPI_FILE="${DIST_WEB}/${WEB_EXT_XPI_BASENAME}" if [[ -f "${WEB_EXT_XPI_FILE}" ]]; then result=$(curl -s -H ''"$GITHUT_AUTH"'' -H 'Content-Type: application/zip' -T "${WEB_EXT_XPI_FILE}" "${upload_url}?name=${WEB_EXT_XPI_BASENAME}") browser_download_url=$(echo "$result" | grep -P "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "\"browser_download_url\":[ ]?\"[^\"]+" | grep -oP "https://[A-Za-z0-9/.-]+")