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

Commit

Permalink
Fix #4665; Sign dev and stage XPIs with the autograph dev-root (#4729)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhirsch committed Aug 2, 2018
1 parent a1dbbf2 commit fc8e5aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Makefile
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
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

0 comments on commit fc8e5aa

Please sign in to comment.