From c7c49c949418a912c7f2ce938cf8f2cac135d87b Mon Sep 17 00:00:00 2001 From: David Bradshaw Date: Thu, 9 Nov 2023 13:00:10 -0800 Subject: [PATCH] fix: release 8.0.8 --- .github/workflows/release.yml | 26 +++++++++++++++----------- package.json | 2 +- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc2f37a..0261553 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,19 +29,23 @@ jobs: yarn install --cwd example --frozen-lockfile yarn install --frozen-lockfile - - name: Initialize Git user - run: | - git config --global user.name "David Bradshaw" - git config --global user.email "david.bradshaw@ibm.com" + - name: Configure git + uses: oleksiyrudenko/gha-git-credentials@v2.1 + with: + global: true + name: 'David Bradshaw' + email: 'david.bradshaw@ibm.com' + actor: 'david.bradshaw@ibm.com' + token: '${{ secrets.DCO_PERSONAL_ACCESS_TOKEN }}' - - name: Setup SSH + - name: Change git remote to use SSH run: | - mkdir -p ~/.ssh - echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ssh-keyscan github.com >> ~/.ssh/known_hosts - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + git remote set-url origin git@github.com:carbon-design-system/carbon-react-native.git + + - name: Attach SSH key + uses: webfactory/ssh-agent@v0.5.4 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Deploy to Github & NPM 🚀 run: | diff --git a/package.json b/package.json index 33bffe8..fc3da6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@carbon/react-native", - "version": "8.0.7", + "version": "8.0.8", "description": "Carbon React Native Library", "main": "lib/commonjs/index", "module": "lib/module/index",