Skip to content

Commit

Permalink
Add Release.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu committed Dec 15, 2023
1 parent 0a00de3 commit 3c63bc0
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
46 changes: 46 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Please follow the below steps to release a new version of the crypto library.

# Python

Python build and release is setup on Github action.

## Step 1: Bump python lib version
In `python/lightspark_crypto/__init__.py`, bump the version number.

## Step 2: Run `Publish to PyPI` workflow
https://github.com/lightsparkdev/lightspark-crypto-uniffi/actions/workflows/publish_python.yml

# Go

Go library needs to be built and released manually following the below steps.

## Step 1: Build

Run the following command to build the go library.

```bash
$ make build-go
```

Then create a PR and commit the changes.

## Step 2: Release

Create a release tag and make a release on Github.

## Step 3: Publish to Go

Run the following command to publish the go library.

```bash
$ GOPROXY=proxy.golang.org go list -m github.com/lightsparkdev/lightspark-crypto-uniffi/lightspark-crypto-go@[version]
```

# Kotlin

TODO

# Swift

Run `Release` github action workflow to release the swift library.

1 change: 1 addition & 0 deletions src/remote_signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ impl RemoteSigningResponseWasm {
}
}

#[wasm_bindgen]
#[derive(Clone, Copy, Debug)]
pub enum RemoteSigningError {
WebhookParsingError,
Expand Down

0 comments on commit 3c63bc0

Please sign in to comment.