Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
feat: manually automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 22, 2022
1 parent 87f594a commit 8c3f71a
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,37 @@ jobs:
- name: Install packages
run: npm ci

- name: Create changelog
run: npm run generate:changelog
#- name: Create changelog
# run: npm run generate:changelog

# Release kind:
# More than 3 feature == minor (inc Y in "X.Y.Z")
# Otherwise, "patch" (inc Z in "X.Y.Z")
# TODO: implement "major" kind (inc X in "X.Y.Z")
- name: Set release kind (minor, patch) based on number of features
run: ./scripts/releaseKind.sh
#- name: Set release kind (minor, patch) based on number of features
# run: ./scripts/releaseKind.sh

# Will increase package.json without running commit hooks, without creating a git tag
- name: Bump version in package.json
run: npm version "$KIND" --commit-hooks=false --git-tag-version=false
#- name: Bump version in package.json
# run: npm version "$KIND" --commit-hooks=false --git-tag-version=false

# - name: Update files (sonar-project.properties, _version.js, ...)
# run: echo "update files"

# - name: Update documentation (gitbook infura, ...)
# run: echo "update documentation"

- name: Setup git info / add & commit / create tag
run: ./scripts/releaseGit.sh
#- name: Setup git info / add & commit / create tag
# run: ./scripts/releaseGit.sh

- name: Release NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'

- name: Merge changes back to dev
run: ./scripts/merge.sh
#- name: Merge changes back to dev
# run: ./scripts/merge-dev.sh

# token: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
# registry: https://registry.nft.consensys-solutions.net
103 changes: 101 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,102 @@
# 2022-06-18
### Changelog

- Initital release
All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v1.0.2](https://github.com/ConsenSys/consensys-sdk/compare/v1.0.1...v1.0.2)

> 17 June 2022
- fix: npm publish (bump version) [`6c2c748`](https://github.com/ConsenSys/consensys-sdk/commit/6c2c748dd41e76efade5d0a5b4068114b63a1762)
- fix: npm publish [`d815859`](https://github.com/ConsenSys/consensys-sdk/commit/d815859cff531927bfef7cae06b9f89a6d1aa2a0)

#### [v1.0.1](https://github.com/ConsenSys/consensys-sdk/compare/v1.0.0...v1.0.1)

> 17 June 2022
- Add issue templates [`#59`](https://github.com/ConsenSys/consensys-sdk/pull/59)
- fix: readme info / add user-agent header [`94f5e55`](https://github.com/ConsenSys/consensys-sdk/commit/94f5e550c4a9fde43e511e7c4daf5d2b4d06f2c1)
- fix: GHA publish on public npm [`0c3320c`](https://github.com/ConsenSys/consensys-sdk/commit/0c3320c77ace13e4efd9a66784cc29667973aa23)
- fix: readme info [`b519c67`](https://github.com/ConsenSys/consensys-sdk/commit/b519c6773117f00d151bfb700ef41aede30d1f49)

### [v1.0.0](https://github.com/ConsenSys/consensys-sdk/compare/v0.5.0...v1.0.0)

> 17 June 2022
- fix: autocompletion / removed x-csi-version header / JSconfig.json [`#58`](https://github.com/ConsenSys/consensys-sdk/pull/58)
- Readme corrections [`#57`](https://github.com/ConsenSys/consensys-sdk/pull/57)
- Correcting a few things here. [`#56`](https://github.com/ConsenSys/consensys-sdk/pull/56)
- ERC721Mintable abi code updated. [`#55`](https://github.com/ConsenSys/consensys-sdk/pull/55)
- Feat/ptp 530 Code of Conduct added [`#54`](https://github.com/ConsenSys/consensys-sdk/pull/54)
- feat(PTP-530): Removed Legal folder. Changelog.md moved to root [`#52`](https://github.com/ConsenSys/consensys-sdk/pull/52)
- feat(PTP-X): remove assets part [`#53`](https://github.com/ConsenSys/consensys-sdk/pull/53)

#### [v0.5.0](https://github.com/ConsenSys/consensys-sdk/compare/v0.4.0...v0.5.0)

> 14 June 2022
- PTP-535 Allow Provider in Constructor [`#47`](https://github.com/ConsenSys/consensys-sdk/pull/47)
- fix(PTP-548): get royalty info with token ID zero [`#51`](https://github.com/ConsenSys/consensys-sdk/pull/51)

#### [v0.4.0](https://github.com/ConsenSys/consensys-sdk/compare/v0.3.0...v0.4.0)

> 13 June 2022
- bugfix(PTP-482): Additional check on RPCURL added. [`#49`](https://github.com/ConsenSys/consensys-sdk/pull/49)
- feat(PTP-547): fix usage.js / fix gas on setRoyalty / fix JSdoc [`#50`](https://github.com/ConsenSys/consensys-sdk/pull/50)
- Fix a few errors [`#48`](https://github.com/ConsenSys/consensys-sdk/pull/48)
- fix: typos and documentation fix [`#46`](https://github.com/ConsenSys/consensys-sdk/pull/46)
- Doc: Minor typo and login info [`#45`](https://github.com/ConsenSys/consensys-sdk/pull/45)

#### [v0.3.0](https://github.com/ConsenSys/consensys-sdk/compare/v0.2.0...v0.3.0)

> 8 June 2022
- feat(PTP-521): build pkg for registry use [`#44`](https://github.com/ConsenSys/consensys-sdk/pull/44)
- update readme and usage.js file [`0a14c3e`](https://github.com/ConsenSys/consensys-sdk/commit/0a14c3ef50b0ad9aefa01544650db92b2095bebe)

#### [v0.2.0](https://github.com/ConsenSys/consensys-sdk/compare/v0.0.1...v0.2.0)

> 8 June 2022
- Feat/ptp 466 tech sdk renounce ownership [`#43`](https://github.com/ConsenSys/consensys-sdk/pull/43)
- feat(PTP-439): create provider class [`#42`](https://github.com/ConsenSys/consensys-sdk/pull/42)
- feat(PTP-466): Added renounce method [`4767e9a`](https://github.com/ConsenSys/consensys-sdk/commit/4767e9afbafe5b4486f1ac631509cc8db793f2c2)
- feat(PTP-466): Added renounce method [`561c30d`](https://github.com/ConsenSys/consensys-sdk/commit/561c30dd3cb7f6bed8ef03a8f016530567657a2a)
- feat(PTP-466): Tests completed [`2633f4e`](https://github.com/ConsenSys/consensys-sdk/commit/2633f4e666e0876587f3bf1dca7d2c677ad9ca21)

#### v0.0.1

> 7 June 2022
- Feat/ptp 425 [`#34`](https://github.com/ConsenSys/consensys-sdk/pull/34)
- feat(PTP-463): approve transfer [`#40`](https://github.com/ConsenSys/consensys-sdk/pull/40)
- feat(PTP-490): object parameters in all methods / JSDoc / standardized parameter name [`#41`](https://github.com/ConsenSys/consensys-sdk/pull/41)
- PTP-481 Add Admin related functions [`#39`](https://github.com/ConsenSys/consensys-sdk/pull/39)
- Feat(PTP-465): add addMinter, removeMinter, renounceMinter, isMinter [`#38`](https://github.com/ConsenSys/consensys-sdk/pull/38)
- feat(PTP-469): add setApprovalForAll [`#37`](https://github.com/ConsenSys/consensys-sdk/pull/37)
- feat(migration): move too goerli [`#36`](https://github.com/ConsenSys/consensys-sdk/pull/36)
- feat(PTP-462): add set contractURI methods in ERC721Mintable class [`#33`](https://github.com/ConsenSys/consensys-sdk/pull/33)
- feat(PTP-424): transfer nft [`#30`](https://github.com/ConsenSys/consensys-sdk/pull/30)
- PTP-282 Route Update [`#32`](https://github.com/ConsenSys/consensys-sdk/pull/32)
- fix: regression on loadContract due to error in contractDeployed visibility [`#31`](https://github.com/ConsenSys/consensys-sdk/pull/31)
- fix: add try/catch + remove openHandles in test + refactor usage.js [`#28`](https://github.com/ConsenSys/consensys-sdk/pull/28)
- Feat/ptp 423 [`#27`](https://github.com/ConsenSys/consensys-sdk/pull/27)
- feat(PTP-311): add sonarCloud [`#25`](https://github.com/ConsenSys/consensys-sdk/pull/25)
- Ptp 404 tech create sdk write implementation [`#24`](https://github.com/ConsenSys/consensys-sdk/pull/24)
- Ptp 388 setup and update e 2 e test [`#18`](https://github.com/ConsenSys/consensys-sdk/pull/18)
- feat: get list nfts for given smart contract [`#14`](https://github.com/ConsenSys/consensys-sdk/pull/14)
- feat(PTP-295): add getSymbol function inside ExternallyOwnedAccount [`#11`](https://github.com/ConsenSys/consensys-sdk/pull/11)
- feat(PTP-252): add getContractAbstraction [`#13`](https://github.com/ConsenSys/consensys-sdk/pull/13)
- feat: add husky & lint-staged for git-hooks [`#8`](https://github.com/ConsenSys/consensys-sdk/pull/8)
- fix: update the base branch for the CI + various QoL improvement (security / naming) [`#9`](https://github.com/ConsenSys/consensys-sdk/pull/9)
- fix: fix test title to match US [`#7`](https://github.com/ConsenSys/consensys-sdk/pull/7)
- Feature/e2etest [`#5`](https://github.com/ConsenSys/consensys-sdk/pull/5)
- Feat/Refacto [`#6`](https://github.com/ConsenSys/consensys-sdk/pull/6)
- Setup jest [`#4`](https://github.com/ConsenSys/consensys-sdk/pull/4)
- ci: first tests / lint / prettier / babel setup [`#3`](https://github.com/ConsenSys/consensys-sdk/pull/3)
- gha implementations [`#2`](https://github.com/ConsenSys/consensys-sdk/pull/2)
- feat(PTP-404): deploy erc721mintable contract [`51bb3fb`](https://github.com/ConsenSys/consensys-sdk/commit/51bb3fb47d87fb1e8bff9c3f132aed2d6863e0a1)
- feat(PTP-403): create SDK read implementation [`d25c668`](https://github.com/ConsenSys/consensys-sdk/commit/d25c66883a3689e097823006ce9a16f4d17f34d3)
- fix(PTP-395): refactor auth class [`1922e4c`](https://github.com/ConsenSys/consensys-sdk/commit/1922e4c230bf113664314456b70d0700dec7cb39)
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infura/sdk",
"version": "1.0.2",
"version": "1.1.0",
"description": "Infura SDK: easily manage, interact with and read smart contract on Mainnet, testnet and local",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion scripts/releaseGit.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION=$(node -e 'console.log(require("./package.json").version)')
VERSION=$(node -e 'console.log(require("../package.json").version)')

git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
Expand Down

0 comments on commit 8c3f71a

Please sign in to comment.