From aa4d79eed32abb78a709568d1edec59152fe0bd4 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 2 May 2022 12:07:06 -0700 Subject: [PATCH 1/3] update release script to include root README --- release.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 4defbea50..6c42b80bf 100755 --- a/release.sh +++ b/release.sh @@ -3,16 +3,25 @@ # Exit script as soon as a command fails. set -o errexit +echo "### Release script started..." yarn build +echo "### Build finished. Copying abis." rm -rf contracts/abi mkdir -p contracts/abi # copy all abis to contracts/abi -find artifacts/contracts ! -iregex ".*([a-zA-Z0-9_]).json" -exec cp {} contracts/abi \; -find artifacts/@openzeppelin ! -iregex ".*([a-zA-Z0-9_]).json" -exec cp {} contracts/abi \; +find artifacts/contracts ! -iregex ".*([a-zA-Z0-9_]).json" -exec cp {} contracts/abi 2>/dev/null \; +find artifacts/@openzeppelin ! -iregex ".*([a-zA-Z0-9_]).json" -exec cp {} contracts/abi 2>/dev/null \; # remove non-abi files rm contracts/abi/*.dbg.json +echo "### Copying README." +# copy root README to contracts folder +cp README.md contracts/README.md # publish from contracts folder cd contracts +echo "### Publishing..." np --any-branch --no-tests +# delete copied README +rm README.md # back to root folder -cd - \ No newline at end of file +cd - +echo "### Done." \ No newline at end of file From 940342d618ebfe857afc3b979d01c82471e8008b Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 2 May 2022 12:25:42 -0700 Subject: [PATCH 2/3] ignore temp README file --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7f367d8b1..5f223e045 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ typechain/ abi/ contracts/abi/ +contracts/README.md artifacts/ artifacts_forge/ From 22d18b06c19240c5929117baa4e1fd67166b9a99 Mon Sep 17 00:00:00 2001 From: Joaquim Verges Date: Mon, 2 May 2022 12:32:41 -0700 Subject: [PATCH 3/3] v2.3.4 --- contracts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/package.json b/contracts/package.json index 934f817e8..9b6ffa57f 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@thirdweb-dev/contracts", "description": "Collection of smart contracts deployable via the thirdweb SDK, dashboard and CLI", - "version": "2.3.3", + "version": "2.3.4", "license": "Apache-2.0", "repository": { "type": "git",