mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
REF: organizing scripts
This commit is contained in:
parent
2fdcb0477c
commit
0075c8820d
@ -107,7 +107,7 @@ Grab an issue from [the backlog](https://github.com/BlueWallet/BlueWallet/projec
|
||||
|
||||
Join us at our [telegram group](https://t.me/bluewallet) where we hangout :+1:
|
||||
|
||||
## Responsible disclosure
|
||||
## RESPONSIBLE DISCLOSURE
|
||||
|
||||
Found critical bugs/vulnerabilities? Please email them bluewallet@bluewallet.io
|
||||
Thanks!
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
* test the build on a real device. It is imperative that you run selftest and it gives you OK
|
||||
* if necessary, up version number in all relevant files (you can use `./edit-version-number.sh`)
|
||||
* run `./release-notes.sh` - it prints changelog between latest tag and now, put this output under
|
||||
* run `./scripts/release-notes.sh` - it prints changelog between latest tag and now, put this output under
|
||||
new version in file `ios/fastlane/metadata/en-US/release_notes.txt` (on top); if file got too big
|
||||
delete the oldest version from the bottom of the file
|
||||
* now is a good time to commit a ver bump and release notes changes
|
||||
|
@ -14,7 +14,7 @@ if [ -f $FILENAME ]; then
|
||||
echo $APTZ
|
||||
APPURL=`node -e "let e = JSON.parse('$APTZ'); console.log(e.publicURL);"`
|
||||
echo App url: $APPURL
|
||||
PR=`node appcenter-post-build-get-pr-number.js`
|
||||
PR=`node scripts/appcenter-post-build-get-pr-number.js`
|
||||
echo PR: $PR
|
||||
|
||||
# uploading file
|
||||
|
@ -408,7 +408,7 @@ export class AppStorage {
|
||||
* @return {Promise.<void>}
|
||||
*/
|
||||
async fetchWalletBalances(index) {
|
||||
console.log('fetchWalletBalances for wallet#', index);
|
||||
console.log('fetchWalletBalances for wallet#', typeof index === 'undefined' ? '(all)' : index);
|
||||
if (index || index === 0) {
|
||||
let c = 0;
|
||||
for (let wallet of this.wallets.filter(wallet => wallet.type !== PlaceholderWallet.type)) {
|
||||
@ -434,7 +434,7 @@ export class AppStorage {
|
||||
* @return {Promise.<void>}
|
||||
*/
|
||||
async fetchWalletTransactions(index) {
|
||||
console.log('fetchWalletTransactions for wallet#', index);
|
||||
console.log('fetchWalletTransactions for wallet#', typeof index === 'undefined' ? '(all)' : index);
|
||||
if (index || index === 0) {
|
||||
let c = 0;
|
||||
for (let wallet of this.wallets.filter(wallet => wallet.type !== PlaceholderWallet.type)) {
|
||||
|
9
help.txt
9
help.txt
@ -1,9 +0,0 @@
|
||||
ANDROID
|
||||
=======
|
||||
|
||||
https://facebook.github.io/react-native/docs/signed-apk-android
|
||||
https://developer.android.com/studio/run/emulator-commandline
|
||||
|
||||
./gradlew cleanBuildCache
|
||||
./gradlew assembleRelease
|
||||
react-native run-android --variant=release
|
3
index.js
3
index.js
@ -4,7 +4,6 @@ import React from 'react';
|
||||
import './shim.js';
|
||||
import { AppRegistry } from 'react-native';
|
||||
import WalletMigrate from './screen/wallets/walletMigrate';
|
||||
import { name as appName } from './app.json';
|
||||
import App from './App';
|
||||
import LottieView from 'lottie-react-native';
|
||||
import UnlockWith from './UnlockWith.js';
|
||||
@ -77,4 +76,4 @@ class BlueAppComponent extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
AppRegistry.registerComponent(appName, () => BlueAppComponent);
|
||||
AppRegistry.registerComponent('BlueWallet', () => BlueAppComponent);
|
||||
|
@ -32,8 +32,8 @@
|
||||
"scripts": {
|
||||
"prepare": "./patches/fix_mangle.sh; git apply patches/minifier.js.patch; git apply patches/minify.js.patch",
|
||||
"clean": "cd android/; ./gradlew clean; cd ..; rm -r -f /tmp/metro-cache/; rm -r -f node_modules/; npm cache clean --force; npm i; npm start -- --reset-cache",
|
||||
"releasenotes2json": "./release-notes.sh > release-notes.txt; node -e 'console.log(JSON.stringify(require(\"fs\").readFileSync(\"release-notes.txt\", \"utf8\")));' > release-notes.json",
|
||||
"podinstall": "./podinstall.sh",
|
||||
"releasenotes2json": "./scripts/release-notes.sh > release-notes.txt; node -e 'console.log(JSON.stringify(require(\"fs\").readFileSync(\"release-notes.txt\", \"utf8\")));' > release-notes.json",
|
||||
"podinstall": "./scripts/podinstall.sh",
|
||||
"start": "node node_modules/react-native/local-cli/cli.js start",
|
||||
"android": "react-native run-android",
|
||||
"android:clean": "cd android; ./gradlew clean ; cd .. ; npm run android",
|
||||
|
@ -1,6 +0,0 @@
|
||||
let fs = require('fs');
|
||||
var appjson = require('./app.json');
|
||||
appjson.expo.ios.buildNumber++;
|
||||
appjson.expo.ios.buildNumber = appjson.expo.ios.buildNumber + ''; // casting to string
|
||||
console.log(appjson.expo.version, '(', appjson.expo.ios.buildNumber, ')');
|
||||
fs.writeFileSync('./app.json', JSON.stringify(appjson, null, 2));
|
@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
./release-notes.sh
|
||||
./release-notes.sh > fastlane/metadata/en-US/release_notes.txt
|
||||
echo
|
||||
nodejs up-build-number.js
|
Loading…
Reference in New Issue
Block a user