Update README, name of archives with builds
This commit is contained in:
parent
4089a0aabb
commit
e8a83f5ab4
28
README.md
28
README.md
|
@ -1,29 +1,10 @@
|
||||||
# MetaMask Browser Extension
|
# Nifty Wallet Browser Extension
|
||||||
[![Build Status](https://circleci.com/gh/poanetwork/metamask-extension.svg?style=shield)](https://circleci.com/gh/poanetwork/metamask-extension) <!--[![Coverage Status](https://coveralls.io/repos/github/poanetwork/metamask-extension/badge.svg?branch=master)](https://coveralls.io/github/poanetwork/metamask-extension?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/poanetwork/metamask-extension.svg)](https://greenkeeper.io/)--> [![Stories in Ready](https://badge.waffle.io/poanetwork/metamask-extension.png?label=in%20progress&title=waffle.io)](https://waffle.io/poanetwork/metamask-extension)
|
[![Build Status](https://circleci.com/gh/poanetwork/metamask-extension.svg?style=shield)](https://circleci.com/gh/poanetwork/metamask-extension) <!--[![Coverage Status](https://coveralls.io/repos/github/poanetwork/metamask-extension/badge.svg?branch=master)](https://coveralls.io/github/poanetwork/metamask-extension?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/poanetwork/metamask-extension.svg)](https://greenkeeper.io/)--> [![Stories in Ready](https://badge.waffle.io/poanetwork/metamask-extension.png?label=in%20progress&title=waffle.io)](https://waffle.io/poanetwork/metamask-extension)
|
||||||
|
|
||||||
## Support
|
|
||||||
|
|
||||||
If you're a user seeking support, [here is our support site](https://metamask.helpscoutdocs.com/).
|
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
[Mission Statement](./MISSION.md)
|
|
||||||
|
|
||||||
[Internal documentation](./docs#documentation)
|
[Internal documentation](./docs#documentation)
|
||||||
|
|
||||||
## Developing Compatible Dapps
|
|
||||||
|
|
||||||
If you're a web dapp developer, we've got two types of guides for you:
|
|
||||||
|
|
||||||
### New Dapp Developers
|
|
||||||
|
|
||||||
- We recommend this [Learning Solidity](https://karl.tech/learning-solidity-part-1-deploy-a-contract/) tutorial series by Karl Floersch.
|
|
||||||
- We wrote a (slightly outdated now) gentle introduction on [Developing Dapps with Truffle and MetaMask](https://medium.com/metamask/developing-ethereum-dapps-with-truffle-and-metamask-aa8ad7e363ba).
|
|
||||||
|
|
||||||
### Current Dapp Developers
|
|
||||||
|
|
||||||
- If you have a Dapp, and you want to ensure compatibility, [here is our guide on building MetaMask-compatible Dapps](https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md)
|
|
||||||
|
|
||||||
## Building locally
|
## Building locally
|
||||||
|
|
||||||
- Install [Node.js](https://nodejs.org/en/) version 8.11.3 and npm version 6.1.0
|
- Install [Node.js](https://nodejs.org/en/) version 8.11.3 and npm version 6.1.0
|
||||||
|
@ -39,8 +20,6 @@ If you're a web dapp developer, we've got two types of guides for you:
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
You can read [our internal docs here](https://metamask.github.io/metamask-extension/).
|
|
||||||
|
|
||||||
You can re-generate the docs locally by running `npm run doc`, and contributors can update the hosted docs by running `npm run publish-docs`.
|
You can re-generate the docs locally by running `npm run doc`, and contributors can update the hosted docs by running `npm run publish-docs`.
|
||||||
|
|
||||||
### Running Tests
|
### Running Tests
|
||||||
|
@ -79,14 +58,9 @@ To write tests that will be run in the browser using QUnit, add your test files
|
||||||
- [How to add custom build to Chrome](./docs/add-to-chrome.md)
|
- [How to add custom build to Chrome](./docs/add-to-chrome.md)
|
||||||
- [How to add custom build to Firefox](./docs/add-to-firefox.md)
|
- [How to add custom build to Firefox](./docs/add-to-firefox.md)
|
||||||
- [How to develop a live-reloading UI](./docs/ui-dev-mode.md)
|
- [How to develop a live-reloading UI](./docs/ui-dev-mode.md)
|
||||||
- [How to add a new translation to MetaMask](./docs/translating-guide.md)
|
|
||||||
- [Publishing Guide](./docs/publishing.md)
|
|
||||||
- [The MetaMask Team](./docs/team.md)
|
|
||||||
- [How to develop an in-browser mocked UI](./docs/ui-mock-mode.md)
|
- [How to develop an in-browser mocked UI](./docs/ui-mock-mode.md)
|
||||||
- [How to live reload on local dependency changes](./docs/developing-on-deps.md)
|
- [How to live reload on local dependency changes](./docs/developing-on-deps.md)
|
||||||
- [How to add new networks to the Provider Menu](./docs/adding-new-networks.md)
|
|
||||||
- [How to manage notices that appear when the app starts up](./docs/notices.md)
|
- [How to manage notices that appear when the app starts up](./docs/notices.md)
|
||||||
- [How to port MetaMask to a new platform](./docs/porting_to_new_environment.md)
|
|
||||||
- [How to use the TREZOR emulator](./docs/trezor-emulator.md)
|
- [How to use the TREZOR emulator](./docs/trezor-emulator.md)
|
||||||
- [How to generate a visualization of this repository's development](./docs/development-visualization.md)
|
- [How to generate a visualization of this repository's development](./docs/development-visualization.md)
|
||||||
|
|
||||||
|
|
|
@ -25,10 +25,10 @@ async function start () {
|
||||||
const BUILD_LINK_BASE = `https://${CIRCLE_BUILD_NUM}-42009758-gh.circle-artifacts.com/0`
|
const BUILD_LINK_BASE = `https://${CIRCLE_BUILD_NUM}-42009758-gh.circle-artifacts.com/0`
|
||||||
|
|
||||||
const MASCARA = `${BUILD_LINK_BASE}/builds/mascara/home.html`
|
const MASCARA = `${BUILD_LINK_BASE}/builds/mascara/home.html`
|
||||||
const CHROME = `${BUILD_LINK_BASE}/builds/metamask-chrome-${VERSION}.zip`
|
const CHROME = `${BUILD_LINK_BASE}/builds/niftywallet-chrome-${VERSION}.zip`
|
||||||
const FIREFOX = `${BUILD_LINK_BASE}/builds/metamask-firefox-${VERSION}.zip`
|
const FIREFOX = `${BUILD_LINK_BASE}/builds/niftywallet-firefox-${VERSION}.zip`
|
||||||
const EDGE = `${BUILD_LINK_BASE}/builds/metamask-edge-${VERSION}.zip`
|
const EDGE = `${BUILD_LINK_BASE}/builds/niftywallet-edge-${VERSION}.zip`
|
||||||
const OPERA = `${BUILD_LINK_BASE}/builds/metamask-opera-${VERSION}.zip`
|
const OPERA = `${BUILD_LINK_BASE}/builds/niftywallet-opera-${VERSION}.zip`
|
||||||
const WALKTHROUGH = `${BUILD_LINK_BASE}/test-artifacts/screens/walkthrough%20%28en%29.gif`
|
const WALKTHROUGH = `${BUILD_LINK_BASE}/test-artifacts/screens/walkthrough%20%28en%29.gif`
|
||||||
|
|
||||||
const commentBody = `
|
const commentBody = `
|
||||||
|
|
|
@ -51,15 +51,15 @@ async function publishRelease () {
|
||||||
releaseId = JSON.parse(response).id
|
releaseId = JSON.parse(response).id
|
||||||
console.log(`releaseId: ${releaseId}`)
|
console.log(`releaseId: ${releaseId}`)
|
||||||
|
|
||||||
return uploadAsset(`./builds/metamask-chrome-${VERSION}.zip`, `metamask-chrome-${VERSION}.zip`, releaseId)
|
return uploadAsset(`./builds/niftywallet-chrome-${VERSION}.zip`, `niftywallet-chrome-${VERSION}.zip`, releaseId)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return uploadAsset(`./builds/metamask-firefox-${VERSION}.zip`, `metamask-firefox-${VERSION}.zip`, releaseId)
|
return uploadAsset(`./builds/niftywallet-firefox-${VERSION}.zip`, `niftywallet-firefox-${VERSION}.zip`, releaseId)
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return uploadAsset(`./builds/metamask-edge-${VERSION}.zip`, `metamask-edge-${VERSION}.zip`, releaseId)
|
return uploadAsset(`./builds/niftywallet-edge-${VERSION}.zip`, `niftywallet-edge-${VERSION}.zip`, releaseId)
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return uploadAsset(`./builds/metamask-opera-${VERSION}.zip`, `metamask-opera-${VERSION}.zip`, releaseId)
|
return uploadAsset(`./builds/niftywallet-opera-${VERSION}.zip`, `niftywallet-opera-${VERSION}.zip`, releaseId)
|
||||||
})
|
})
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
console.error('error in request:' + err)
|
console.error('error in request:' + err)
|
||||||
|
|
|
@ -52,7 +52,7 @@ async function checkIfVersionExists () {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkIfVersionHasArtifacts () {
|
async function checkIfVersionHasArtifacts () {
|
||||||
const artifacts = await exec(`sentry-cli releases --org 'metamask' --project 'metamask' files ${VERSION} list`)
|
const artifacts = await exec(`sentry-cli releases --org 'poa-network' --project 'nifty-wallet' files ${VERSION} list`)
|
||||||
// When there's no artifacts, we get a response from the shell like this ['', '']
|
// When there's no artifacts, we get a response from the shell like this ['', '']
|
||||||
return artifacts[0] && artifacts[0].length > 0
|
return artifacts[0] && artifacts[0].length > 0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue