Skip to content

Commit 75a074c

Browse files
authored
CI Develop Flow Fix - Update internal deps, add check for alpha flag on release branch (#1000)
* Update internal deps and add check for alpha flag on release branch, break if found * Revert unnecessary change
1 parent 40dcd87 commit 75a074c

File tree

17 files changed

+53
-35
lines changed

17 files changed

+53
-35
lines changed

.circleci/config.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ aliases:
2525
branches:
2626
only: v2-web3-onboard-develop
2727

28-
- &test_package_version_for_alpha_tag
28+
- &test_package_version_for_alpha_tag_break_false
2929
run:
30-
name: Tagged as Alpha version
30+
name: Tagged as Alpha version if True Continue Flow
3131
command: |
3232
PACKAGE_VERSION=$(cat package.json \
3333
| grep version \
@@ -42,6 +42,23 @@ aliases:
4242
circleci step halt
4343
fi;
4444
45+
- &test_package_version_for_alpha_tag_break_true
46+
run:
47+
name: Tagged as Alpha version if True Stop Flow
48+
command: |
49+
PACKAGE_VERSION=$(cat package.json \
50+
| grep version \
51+
| head -1 \
52+
| awk -F: '{ print $2 }' \
53+
| sed 's/[",]//g');
54+
if [[ $PACKAGE_VERSION =~ "-alpha" ]];
55+
then
56+
echo true
57+
circleci step halt
58+
else
59+
echo false
60+
fi;
61+
4562
- &restore-build-flag
4663
restore_cache:
4764
keys:
@@ -107,6 +124,7 @@ commands:
107124
path: ~/web3-onboard-monorepo
108125
- *restore-build-flag
109126
- *test-build-flag
127+
- *test_package_version_for_alpha_tag_break_true
110128
# Services and packages in a Workspace don't get their own
111129
# yarn.lock so we need to generate them manually.
112130
- *generate-lock-file
@@ -130,7 +148,7 @@ commands:
130148
path: ~/web3-onboard-monorepo
131149
- *restore-build-flag
132150
- *test-build-flag
133-
- *test_package_version_for_alpha_tag
151+
- *test_package_version_for_alpha_tag_break_false
134152
# Services and packages in a Workspace don't get their own
135153
# yarn.lock so we need to generate them manually.
136154
- *generate-lock-file

packages/coinbase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/coinbase",
3-
"version": "2.0.2-alpha",
3+
"version": "2.0.2-alpha.1",
44
"description": "Coinbase Wallet module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -20,7 +20,7 @@
2020
"typescript": "^4.5.5"
2121
},
2222
"dependencies": {
23-
"@web3-onboard/common": "^2.0.7",
23+
"@web3-onboard/common": "^2.0.7-alpha.1",
2424
"@coinbase/wallet-sdk": "^3.0.5"
2525
}
2626
}

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/common",
3-
"version": "2.0.9-alpha",
3+
"version": "2.0.9-alpha.1",
44
"scripts": {
55
"build": "rollup -c",
66
"dev": "rollup -c -w",

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/core",
3-
"version": "2.2.8",
3+
"version": "2.2.8-alpha.1",
44
"scripts": {
55
"build": "rollup -c",
66
"dev": "rollup -c -w",
@@ -41,7 +41,7 @@
4141
"typescript": "^4.5.5"
4242
},
4343
"dependencies": {
44-
"@web3-onboard/common": "^2.0.7",
44+
"@web3-onboard/common": "^2.0.7-alpha.1",
4545
"bowser": "^2.11.0",
4646
"ethers": "5.5.3",
4747
"eventemitter3": "^4.0.7",

packages/fortmatic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/fortmatic",
3-
"version": "2.0.2-alpha",
3+
"version": "2.0.2-alpha.1",
44
"description": "Fortmatic module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -20,7 +20,7 @@
2020
"typescript": "^4.5.5"
2121
},
2222
"dependencies": {
23-
"@web3-onboard/common": "^2.0.7",
23+
"@web3-onboard/common": "^2.0.7-alpha.1",
2424
"fortmatic": "^2.2.1"
2525
}
2626
}

packages/gnosis/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/gnosis",
3-
"version": "2.0.1-alpha",
3+
"version": "2.0.1-alpha.1",
44
"description": "Gnosis module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -21,7 +21,7 @@
2121
"typescript": "^4.5.5"
2222
},
2323
"dependencies": {
24-
"@web3-onboard/common": "^2.0.7",
24+
"@web3-onboard/common": "^2.0.7-alpha.1",
2525
"@gnosis.pm/safe-apps-provider": "^0.9.2",
2626
"@gnosis.pm/safe-apps-sdk": "^6.1.1"
2727
}

packages/injected/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/injected-wallets",
3-
"version": "2.0.6-alpha",
3+
"version": "2.0.6-alpha.1",
44
"description": "Injected wallets module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -25,7 +25,7 @@
2525
"window": "^4.2.7"
2626
},
2727
"dependencies": {
28-
"@web3-onboard/common": "^2.0.7",
28+
"@web3-onboard/common": "^2.0.7-alpha.1",
2929
"joi": "^17.4.2",
3030
"lodash.uniqby": "^4.7.0"
3131
}

packages/keepkey/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/keepkey",
3-
"version": "2.0.3-alpha",
3+
"version": "2.0.3-alpha.1",
44
"description": "KeepKey module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -24,7 +24,7 @@
2424
"typescript": "^4.5.5"
2525
},
2626
"dependencies": {
27-
"@web3-onboard/common": "^2.0.7",
27+
"@web3-onboard/common": "^2.0.7-alpha.1",
2828
"@ethersproject/providers": "^5.5.0",
2929
"@shapeshiftoss/hdwallet-core": "^1.15.2",
3030
"@shapeshiftoss/hdwallet-keepkey-webusb": "^1.15.2",

packages/keystone/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/keystone",
3-
"version": "2.0.3-alpha",
3+
"version": "2.0.3-alpha.1",
44
"description": "Keystone module for web3-onboard",
55
"module": "dist/index.js",
66
"typings": "dist/index.d.ts",
@@ -18,7 +18,7 @@
1818
"typescript": "^4.5.5"
1919
},
2020
"dependencies": {
21-
"@web3-onboard/common": "^2.0.7",
21+
"@web3-onboard/common": "^2.0.7-alpha.1",
2222
"@ethereumjs/tx": "^3.4.0",
2323
"@ethersproject/providers": "^5.5.0",
2424
"@keystonehq/eth-keyring": "^0.11.2-alpha.2"

packages/ledger/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/ledger",
3-
"version": "2.0.4-alpha",
3+
"version": "2.0.4-alpha.1",
44
"description": "Ledger module for web3-onboard",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",
@@ -21,7 +21,7 @@
2121
"typescript": "^4.5.5"
2222
},
2323
"dependencies": {
24-
"@web3-onboard/common": "^2.0.7",
24+
"@web3-onboard/common": "^2.0.7-alpha.1",
2525
"@ethereumjs/tx": "^3.4.0",
2626
"@ethersproject/providers": "^5.5.0",
2727
"@ledgerhq/hw-app-eth": "^6.19.0",

0 commit comments

Comments
 (0)