Skip to content

Commit 011c7a3

Browse files
authored
Update wallet-js CD job (#189)
# Description Simple cleanup of the wallet-js npm package publishing process
2 parents ece9105 + 3dda088 commit 011c7a3

File tree

15 files changed

+29
-25
lines changed

15 files changed

+29
-25
lines changed

.github/workflows/js_wallet_publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,18 @@ jobs:
3131
id: get_version
3232
run: echo ::set-output name=version::``${GITHUB_REF#refs/tags/}``
3333

34-
release_wasm:
35-
name: Release wasm assets
34+
release_wallet_js:
35+
name: Release wallet js assets
3636
needs: initial_release
3737
runs-on: ubuntu-latest
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
target: [nodejs, web, bundler]
41+
target: [
42+
nodejs,
43+
# web,
44+
# bundler
45+
]
4246

4347
steps:
4448
- uses: actions/checkout@v3
@@ -58,11 +62,11 @@ jobs:
5862
wasm-pack build \
5963
-d pkg \
6064
--scope catalyst-core \
61-
--out-name walletjs \
6265
--release --target ${{ matrix.target }} \
6366
bindings/wallet-wasm-js
6467
rm bindings/wallet-wasm-js/pkg/README.md
6568
cp bindings/wallet-wasm-js/package_README.md bindings/wallet-wasm-js/pkg/README.md
69+
cat bindings/wallet-wasm-js/pkg/package.json
6670
6771
- name: Pack wasm package
6872
run: |

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/chain-wallet-libs/bindings/wallet-cordova/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wallet-cordova-plugin",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"description": "Jormungandr wallet Cordova Plugin",
55
"cordova": {
66
"id": "wallet-cordova-plugin",

src/chain-wallet-libs/bindings/wallet-cordova/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22

3-
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="wallet-cordova-plugin" version="0.8.2">
3+
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="wallet-cordova-plugin" version="0.8.3">
44
<name>Wallet Cordova Plugin</name>
55
<description>Wallet Cordova Plugin</description>
66
<license>MIT OR Apache-2.0 </license>

src/chain-wallet-libs/bindings/wallet-cordova/tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wallet-cordova-plugin-tests",
3-
"version": "0.8.2",
3+
"version": "0.8.3",
44
"description": "",
55
"cordova": {
66
"id": "wallet-cordova-plugin-tests",

src/chain-wallet-libs/bindings/wallet-cordova/tests/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
id="wallet-cordova-plugin-tests"
5-
version="0.8.2">
5+
version="0.8.3">
66
<name>Wallet cordova plugin tests</name>
77
<license>Apache 2.0 OR MIT</license>
88

src/chain-wallet-libs/bindings/wallet-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
edition = "2018"
77
license = "MIT OR Apache-2.0"
88
name = "wallet-core"
9-
version = "0.8.2"
9+
version = "0.8.3"
1010

1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wallet-uniffi"
3-
version = "0.8.2"
3+
version = "0.8.3"
44
edition = "2018"
55

66
[lib]

src/chain-wallet-libs/bindings/wallet-wasm-js/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
name = "wallet-wasm-js"
1111
repository = "https://github.com/input-output-hk/catalyst-core"
12-
version = "0.8.2"
12+
version = "0.8.3"
1313

1414
[lib]
1515
crate-type = ["cdylib", "rlib"]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "wallet-js",
3-
"version": "0.8.2",
2+
"name": "@catalyst-core/wallet-js",
3+
"version": "0.8.3",
44
"description": "Jormungandr wallet capabilities for Javascript",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -10,6 +10,6 @@
1010
},
1111
"license": "MIT",
1212
"dependencies": {
13-
"@catalyst-core/wallet-wasm-js": "0.8.2"
13+
"@catalyst-core/wallet-wasm-js": "0.8.3"
1414
}
1515
}

0 commit comments

Comments
 (0)