Skip to content

Commit

Permalink
0.1.3 (#47)
Browse files Browse the repository at this point in the history
* 0.1.3

* chore: update snap checksum

* chore: add scripts from template

* chore: update changelogs

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Daniel Rocha <[email protected]>
  • Loading branch information
3 people authored Jun 28, 2023
1 parent 8eaddaf commit d3f7f01
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snap-simple-keyring",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"description": "A simple keyring snap that integrates with MetaMask accounts.",
"keywords": [
Expand Down
7 changes: 6 additions & 1 deletion packages/site/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.3]
### Changed
- No changes in this release.

## [0.1.2]
### Changed
- Update snaps and API dependencies. ([#41](https://github.com/MetaMask/snap-simple-keyring/pull/41))
Expand All @@ -19,7 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release.

[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...HEAD
[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.3...HEAD
[0.1.3]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/MetaMask/snap-simple-keyring/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snap-simple-keyring-site",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"license": "(MIT-0 OR Apache-2.0)",
"scripts": {
Expand Down
8 changes: 7 additions & 1 deletion packages/snap/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.3]
### Fixed
- Fix address checksum and account update order. ([#44](https://github.com/MetaMask/snap-simple-keyring/pull/44))
- Fix unique name during account creation. ([#43](https://github.com/MetaMask/snap-simple-keyring/pull/43))

## [0.1.2]
### Changed
- Update snaps and API dependencies. ([#41](https://github.com/MetaMask/snap-simple-keyring/pull/41))
Expand All @@ -22,7 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release.

[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...HEAD
[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.3...HEAD
[0.1.3]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/MetaMask/snap-simple-keyring/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion packages/snap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snap-simple-keyring-snap",
"version": "0.1.2",
"version": "0.1.3",
"description": "A simple keyring snap that integrates with MetaMask accounts.",
"keywords": [
"metamask",
Expand Down
4 changes: 2 additions & 2 deletions packages/snap/snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "0.1.2",
"version": "0.1.3",
"description": "An example of a key management snap for a simple keyring.",
"proposedName": "MetaMask Snap Simple Keyring",
"repository": {
"type": "git",
"url": "git+https://github.com/MetaMask/snap-simple-keyring.git"
},
"source": {
"shasum": "rU0BmSJDHj3EMFto/7OcR1Zt+T+U9Le/3UZV/mWYMqc=",
"shasum": "s5XnCGE4PLuRg5wcW7QyK3a+FE8P3zfJLemiz6t86O4=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
24 changes: 24 additions & 0 deletions scripts/get.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

if [[ ${RUNNER_DEBUG:-0} == 1 ]]; then
set -x
fi

KEY="${1}"
OUTPUT="${2}"

if [[ -z $KEY ]]; then
echo "Error: KEY not specified."
exit 1
fi

if [[ -z $OUTPUT ]]; then
echo "Error: OUTPUT not specified."
exit 1
fi

echo "$OUTPUT=$(jq --raw-output "$KEY" package.json)" >> "$GITHUB_OUTPUT"
11 changes: 11 additions & 0 deletions scripts/prepack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -e
set -o pipefail

if [[ -n $SKIP_PREPACK ]]; then
echo "Notice: skipping prepack."
exit 0
fi

yarn build:clean

0 comments on commit d3f7f01

Please sign in to comment.