Skip to content

Commit

Permalink
fix: reproducible build (II)
Browse files Browse the repository at this point in the history
Turns out yarn fails silently when registry.js.ipfs.io is down
so docker build was always flawed.

To fix it ASAP we switch to yarn repo and bump version to make a new
stable and reproducible release for Mozilla.
  • Loading branch information
lidel committed Feb 11, 2019
1 parent 1b2e0c7 commit bf9a69e
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 121 deletions.
2 changes: 1 addition & 1 deletion add-on/manifest.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_manifest_extensionName__",
"short_name": "__MSG_manifest_shortExtensionName__",
"version": "2.7.2",
"version": "2.7.3",
"description": "__MSG_manifest_extensionDescription__",
"homepage_url": "https://github.com/ipfs-shipyard/ipfs-companion",
"author": "IPFS Community",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"ci:install": "npx yarn@1.12.3 install --frozen-lockfile || npx yarn@1.12.3 install --frozen-lockfile",
"ci:test": "npx yarn@1.12.3 test",
"ci:build": "./ci/update-manifest.sh ; npx yarn@1.12.3 build ; chmod -R ugo+rwX build/ add-on/",
"beta-build": "docker build -t ipfs-companion . && docker run -it -e RELEASE_CHANNEL=beta -v $(pwd)/build:/usr/src/app/build ipfs-companion yarn ci:build",
"release-build": "docker build -t ipfs-companion . && docker run -it -e RELEASE_CHANNEL=stable -v $(pwd)/build:/usr/src/app/build ipfs-companion yarn ci:build",
"beta-build": "docker build -t ipfs-companion . && docker run -it --net=host -e RELEASE_CHANNEL=beta -v $(pwd)/build:/usr/src/app/build ipfs-companion yarn ci:build",
"release-build": "docker build -t ipfs-companion . && docker run -it --net=host -e RELEASE_CHANNEL=stable -v $(pwd)/build:/usr/src/app/build ipfs-companion yarn ci:build",
"dev-build": "npx yarn@1.12.3 && npx yarn@1.12.3 build",
"yarn-build": "npm run dev-build"
},
Expand Down
Loading

0 comments on commit bf9a69e

Please sign in to comment.