Skip to content

Commit 87cb952

Browse files
committed
v0.12.0 -> 0.13.0
1 parent 93184ae commit 87cb952

File tree

8 files changed

+29
-43
lines changed

8 files changed

+29
-43
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "light-client",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Raiden Light Client monorepo",
55
"author": "brainbot labs est.",
66
"private": true,

prepare-release.sh

+13-36
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,26 @@
11
#!/usr/bin/env bash
22

3+
set -e
4+
35
if [[ "$#" -ne 1 ]]; then
4-
VERSION_PARAMS=$(pnpm version --help | grep -oPm1 'npm version (.*)' | sed 's/npm version/''/g')
5-
echo "USAGE: $0 $VERSION_PARAMS"
6+
echo "Usage: $0 [--major|--minor|--patch]"
67
exit 1
78
fi
89

9-
cd raiden-ts
10-
11-
PACKAGE_VERSION=$(cat package.json |
12-
grep version |
13-
head -1 |
14-
awk -F: '{ print $2 }' |
15-
sed 's/[",]//g' |
16-
tr -d '[[:space:]]')
17-
18-
# Using `--no-git-tag-version` in January 2020 serves no purpose due to `npm version`
19-
# expecting the command to run from the same directory that also hosts the `.git` folder
20-
# You can find more information on https://github.com/npm/npm/issues/9111.
21-
# We disable the whole functionality because there no option exists to disable only automatic tagging.
22-
VERSION=$(pnpm version $1 --no-git-tag-version)
23-
echo "sdk version update updated to $VERSION"
24-
MESSAGE="v$PACKAGE_VERSION -> $VERSION"
25-
26-
cd ../raiden-dapp/
27-
28-
DAPP_VERSION=$(pnpm version $1 --no-git-tag-version)
29-
echo "dApp version update updated to $DAPP_VERSION"
30-
31-
cd ../raiden-cli/
10+
cd "$( dirname $0 )"
3211

33-
CLI_VERSION=$(pnpm version $1 --no-git-tag-version)
34-
echo "cli version update updated to $CLI_VERSION"
12+
OLD_VERSION=`yarn versions --json | jq -er '.data."light-client"'`
13+
yarn version $1 --no-git-tag-version
14+
NEW_VERSION=`yarn versions --json | jq -er '.data."light-client"'`
15+
MESSAGE="v$OLD_VERSION -> $NEW_VERSION"
3516

36-
cd ../
37-
ROOT_VERSION=$(pnpm version $1 --no-git-tag-version)
38-
echo "light client version update updated to $ROOT_VERSION"
17+
yarn workspace raiden-ts version --no-git-tag-version --new-version "${NEW_VERSION}"
18+
yarn workspace raiden-dapp version --no-git-tag-version --new-version "${NEW_VERSION}"
19+
yarn workspace raiden-cli version --no-git-tag-version --new-version "${NEW_VERSION}"
3920

40-
pnpm install
21+
yarn install
4122

42-
git add package.json
43-
git add raiden-ts/package.json
44-
git add raiden-dapp/package.json
45-
git add raiden-cli/package.json
46-
git add pnpm-lock.yaml
23+
git add package.json raiden-{ts,dapp,cli}/package.json yarn.lock
4724

4825
echo "Preparing to commit version update $MESSAGE"
4926
git commit -m "$MESSAGE"

raiden-cli/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4+
5+
## [0.13.0] - 2020-11-10
46
### Fixed
57
- [#2314] Return proper error codes for transfer failures
68
- [#2344] Handle JSON wallets with trimmed IVs
@@ -25,6 +27,7 @@
2527
[#2054]: https://github.com/raiden-network/light-client/pulls/2054
2628

2729

28-
[Unreleased]: https://github.com/raiden-network/light-client/compare/v0.12.0...HEAD
30+
[Unreleased]: https://github.com/raiden-network/light-client/compare/v0.13.0...HEAD
31+
[0.13.0]: https://github.com/raiden-network/light-client/compare/v0.12.0...v0.13.0
2932
[0.12.0]: https://github.com/raiden-network/light-client/compare/v0.11.1...v0.12.0
3033
[0.11.1]: https://github.com/raiden-network/light-client/compare/v0.11.0...v0.11.1

raiden-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raiden-cli",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Raiden Light Client standalone command-line app",
55
"main": "build/index.js",
66
"scripts": {

raiden-dapp/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.13.0] - 2020-11-10
6+
57
### Fixed
68

79
### Added
@@ -458,7 +460,8 @@
458460
- Add link to privacy policy.
459461
- Add basic transfer screen.
460462

461-
[unreleased]: https://github.com/raiden-network/light-client/compare/v0.12.0...HEAD
463+
[Unreleased]: https://github.com/raiden-network/light-client/compare/v0.13.0...HEAD
464+
[0.13.0]: https://github.com/raiden-network/light-client/compare/v0.12.0...v0.13.0
462465
[0.12.0]: https://github.com/raiden-network/light-client/compare/v0.11.1...v0.12.0
463466
[0.11.1]: https://github.com/raiden-network/light-client/compare/v0.11.0...v0.11.1
464467
[0.11.0]: https://github.com/raiden-network/light-client/compare/v0.10.0...v0.11.0

raiden-dapp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raiden-dapp",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"private": true,
55
"description": "A dApp that showcases the Raiden Light Client sdk functionality",
66
"author": "brainbot labs est.",

raiden-ts/CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## [Unreleased]
4+
5+
## [0.13.0] - 2020-11-10
46
### Fixed
57
- [#2058] Check some potential overflows when handling received messages
68
- [#2240] Handle network problems when connecting to the Eth node gracefully
@@ -355,7 +357,8 @@
355357
- Add protocol message implementation.
356358

357359

358-
[Unreleased]: https://github.com/raiden-network/light-client/compare/v0.12.0...HEAD
360+
[Unreleased]: https://github.com/raiden-network/light-client/compare/v0.13.0...HEAD
361+
[0.13.0]: https://github.com/raiden-network/light-client/compare/v0.12.0...v0.13.0
359362
[0.12.0]: https://github.com/raiden-network/light-client/compare/v0.11.1...v0.12.0
360363
[0.11.1]: https://github.com/raiden-network/light-client/compare/v0.11.0...v0.11.1
361364
[0.11.0]: https://github.com/raiden-network/light-client/compare/v0.10.0...v0.11.0

raiden-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "raiden-ts",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "Raiden Light Client Typescript/Javascript SDK",
55
"main": "dist:cjs/index.js",
66
"module": "dist/index.js",

0 commit comments

Comments
 (0)