Skip to content

Commit

Permalink
Update wallet-js CD job (#189)
Browse files Browse the repository at this point in the history
# Description

Simple cleanup of the wallet-js npm package publishing process
  • Loading branch information
minikin authored Dec 26, 2022
2 parents ece9105 + 3dda088 commit 011c7a3
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 25 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/js_wallet_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ jobs:
id: get_version
run: echo ::set-output name=version::``${GITHUB_REF#refs/tags/}``

release_wasm:
name: Release wasm assets
release_wallet_js:
name: Release wallet js assets
needs: initial_release
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [nodejs, web, bundler]
target: [
nodejs,
# web,
# bundler
]

steps:
- uses: actions/checkout@v3
Expand All @@ -58,11 +62,11 @@ jobs:
wasm-pack build \
-d pkg \
--scope catalyst-core \
--out-name walletjs \
--release --target ${{ matrix.target }} \
bindings/wallet-wasm-js
rm bindings/wallet-wasm-js/pkg/README.md
cp bindings/wallet-wasm-js/package_README.md bindings/wallet-wasm-js/pkg/README.md
cat bindings/wallet-wasm-js/pkg/package.json
- name: Pack wasm package
run: |
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/chain-wallet-libs/bindings/wallet-cordova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet-cordova-plugin",
"version": "0.8.2",
"version": "0.8.3",
"description": "Jormungandr wallet Cordova Plugin",
"cordova": {
"id": "wallet-cordova-plugin",
Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/bindings/wallet-cordova/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>

<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">
<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">
<name>Wallet Cordova Plugin</name>
<description>Wallet Cordova Plugin</description>
<license>MIT OR Apache-2.0 </license>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet-cordova-plugin-tests",
"version": "0.8.2",
"version": "0.8.3",
"description": "",
"cordova": {
"id": "wallet-cordova-plugin-tests",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="wallet-cordova-plugin-tests"
version="0.8.2">
version="0.8.3">
<name>Wallet cordova plugin tests</name>
<license>Apache 2.0 OR MIT</license>

Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/bindings/wallet-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
edition = "2018"
license = "MIT OR Apache-2.0"
name = "wallet-core"
version = "0.8.2"
version = "0.8.3"

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

Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/bindings/wallet-uniffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wallet-uniffi"
version = "0.8.2"
version = "0.8.3"
edition = "2018"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/bindings/wallet-wasm-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"
name = "wallet-wasm-js"
repository = "https://github.com/input-output-hk/catalyst-core"
version = "0.8.2"
version = "0.8.3"

[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
6 changes: 3 additions & 3 deletions src/chain-wallet-libs/bindings/wallet-wasm-js/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet-js",
"version": "0.8.2",
"name": "@catalyst-core/wallet-js",
"version": "0.8.3",
"description": "Jormungandr wallet capabilities for Javascript",
"main": "index.js",
"types": "index.d.ts",
Expand All @@ -10,6 +10,6 @@
},
"license": "MIT",
"dependencies": {
"@catalyst-core/wallet-wasm-js": "0.8.2"
"@catalyst-core/wallet-wasm-js": "0.8.3"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet-js",
"version": "0.8.2",
"version": "0.8.3",
"description": "Jormungandr wallet capabilities for Javascript",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/chain-path-derivation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chain-path-derivation"
version = "0.8.2"
version = "0.8.3"
authors = ["Nicolas Di Prima <[email protected]>", "Vincent Hanquez <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/hdkeygen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hdkeygen"
version = "0.8.2"
version = "0.8.3"
authors = [
"Nicolas Di Prima <[email protected]>",
"Vincent Hanquez <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/symmetric-cipher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["Nicolas Di Prima <[email protected]>", "Vincent Hanquez <vince
edition = "2018"
license = "MIT OR Apache-2.0"
name = "symmetric-cipher"
version = "0.8.2"
version = "0.8.3"

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

Expand Down
2 changes: 1 addition & 1 deletion src/chain-wallet-libs/wallet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wallet"
version = "0.8.2"
version = "0.8.3"
authors = [
"Nicolas Di Prima <[email protected]>",
"Vincent Hanquez <[email protected]>",
Expand Down

0 comments on commit 011c7a3

Please sign in to comment.