Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fix #4665; Sign dev and stage XPIs with the autograph dev-root #4729

Merged
merged 1 commit into from
Aug 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ bootstrap_zip: addon
unsigned_bootstrap_xpi: bootstrap_zip
cp build/screenshots-bootstrap.zip build/screenshots.xpi

dev_signed_bootstrap_xpi: bootstrap_zip
curl -F "input=@build/screenshots-bootstrap.zip" -o build/screenshots.xpi -H "Authorization: ${AUTOGRAPH_EDGE_TOKEN}" https://autograph-edge.stage.mozaws.net/sign

.PHONY: signed_xpi
signed_xpi: addon
rm -f web-ext-artifacts/*.xpi
Expand Down Expand Up @@ -286,6 +289,8 @@ help:
@echo " make an unsigned zip of addon/ in build/screenshots.zip"
@echo " make unsigned_bootstrap_xpi"
@echo " make an unsigned xpi of addon/ in build/screenshots.xpi"
@echo " make dev_signed_bootstrap_xpi"
@echo " make a dev-root signed xpi of addon/ in build/screenshots.xpi"
@echo " make signed_xpi"
@echo " make a signed xpi in build/screenshots.xpi"
@echo "See also:"
Expand Down
4 changes: 2 additions & 2 deletions bin/release-version
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ case "$channel" in
# Forces update of the add-on version:
mkdir -p build
touch build/.backend.txt
SCREENSHOTS_BACKEND=https://screenshots.dev.mozaws.net SCREENSHOTS_SENTRY="$dev_sentry" make unsigned_bootstrap_xpi
SCREENSHOTS_BACKEND=https://screenshots.dev.mozaws.net SCREENSHOTS_SENTRY="$dev_sentry" make dev_signed_bootstrap_xpi
export NODE_ENV=dev
./bin/build-docker-image mozilla latest
echo
Expand All @@ -58,7 +58,7 @@ case "$channel" in
rm -f build/screenshots.xpi
# Forces update of the add-on version:
touch build/.backend.txt
SCREENSHOTS_BACKEND=https://screenshots.stage.mozaws.net SCREENSHOTS_SENTRY="$stage_sentry" make unsigned_bootstrap_xpi
SCREENSHOTS_BACKEND=https://screenshots.stage.mozaws.net SCREENSHOTS_SENTRY="$stage_sentry" make dev_signed_bootstrap_xpi
export NODE_ENV=production
./bin/build-docker-image mozilla
echo
Expand Down