From a1879f45add588889dda2af216c0c437d66accef Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Mon, 19 Oct 2020 10:55:31 +0200 Subject: [PATCH] Publish --- .github/workflows/deploy.yml | 21 +++++++++++++++++++++ .gitignore | 3 ++- CHANGELOG.md | 8 ++++++++ lerna.json | 8 +++++++- package.json | 2 +- packages/demo/CHANGELOG.md | 8 ++++++++ packages/demo/package.json | 4 ++-- packages/lib/CHANGELOG.md | 8 ++++++++ packages/lib/package.json | 2 +- 9 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..5818298 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: Build and Deploy +on: + push: + branches: + - master +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. + with: + persist-credentials: false + + - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. + run: yarn install + - name: Deploy 🚀 + run: yarn prerelease + with: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.gitignore b/.gitignore index e37252a..0818cf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules /coverage /packages/lib/lib -/.auth \ No newline at end of file +/.auth +*.log diff --git a/CHANGELOG.md b/CHANGELOG.md index d71d5e6..fe467b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19) + +**Note:** Version bump only for package react-native-debug-console + + + + + # [2.0.0-alpha.11](https://github.com/morten-olsen/react-native-debug-console/compare/2.0.0-alpha.5...2.0.0-alpha.11) (2020-10-19) **Note:** Version bump only for package react-native-debug-console diff --git a/lerna.json b/lerna.json index e3bfcf0..6f9157c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,11 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "2.0.0-alpha.11" + "version": "2.0.0-alpha.12", + "command": { + "publish": { + "conventionalCommits": true, + "yes": true + } + } } diff --git a/package.json b/package.json index 314eedd..4836d59 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios", "demo:web": "lerna run --scope=react-native-debug-console-demo --stream web", "test": "lerna run --stream test", - "prerelease": "source .auth && lerna version prerelease --sign-git-tag -m \"chore(release): publish %s\" --conventional-commits --create-release github --force-publish" + "prerelease": "lerna version prerelease --yes --sign-git-tag -m \"chore(release): publish %s\" --conventional-commits --create-release github --force-publish" }, "devDependencies": { "@babel/cli": "^7.5.0", diff --git a/packages/demo/CHANGELOG.md b/packages/demo/CHANGELOG.md index 1ed4f1a..8548c71 100644 --- a/packages/demo/CHANGELOG.md +++ b/packages/demo/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debug-console/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19) + +**Note:** Version bump only for package react-native-debug-console-demo + + + + + # 2.0.0-alpha.11 (2020-10-19) **Note:** Version bump only for package react-native-debug-console-demo diff --git a/packages/demo/package.json b/packages/demo/package.json index 8b29b43..c8419f9 100644 --- a/packages/demo/package.json +++ b/packages/demo/package.json @@ -1,6 +1,6 @@ { "name": "react-native-debug-console-demo", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "main": "./Entry.js", "scripts": { "start": "expo start", @@ -15,7 +15,7 @@ "react": "16.8.3", "react-dom": "^16.8.6", "react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz", - "react-native-debug-console": "^2.0.0-alpha.11", + "react-native-debug-console": "^2.0.0-alpha.12", "react-native-web": "0.11.4" }, "devDependencies": { diff --git a/packages/lib/CHANGELOG.md b/packages/lib/CHANGELOG.md index 080ba46..75daeb9 100644 --- a/packages/lib/CHANGELOG.md +++ b/packages/lib/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.0.0-alpha.12](https://github.com/morten-olsen/react-native-debugger/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2020-10-19) + +**Note:** Version bump only for package react-native-debug-console + + + + + # 2.0.0-alpha.11 (2020-10-19) **Note:** Version bump only for package react-native-debug-console diff --git a/packages/lib/package.json b/packages/lib/package.json index b16a385..3aef7fd 100644 --- a/packages/lib/package.json +++ b/packages/lib/package.json @@ -1,6 +1,6 @@ { "name": "react-native-debug-console", - "version": "2.0.0-alpha.11", + "version": "2.0.0-alpha.12", "main": "lib/index.js", "react-native": "lib/native.js", "repository": {