From db9f95c968687f46bce48e644bb352ff8ed10718 Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Thu, 5 Oct 2023 19:35:58 +0530 Subject: [PATCH] chore: Bump version (#4) * chore: add prerelease arg in pipeline Signed-off-by: Sai Ranjit Tummalapalli * chore: add gh token variable Signed-off-by: Sai Ranjit Tummalapalli * chore: bump package version Signed-off-by: Sai Ranjit Tummalapalli * chore: update git username and email Signed-off-by: Sai Ranjit Tummalapalli --------- Signed-off-by: Sai Ranjit Tummalapalli --- .github/workflows/pipeline.yaml | 8 ++++---- .release-it.json | 3 ++- packages/ssi/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 8738946..76505f4 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -79,15 +79,15 @@ jobs: - name: Publish env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} shell: bash run: | - git config --global user.email "sairanjit.tummalapalli@ayanworks.com" - git config --global user.name "Sai Ranjit Tummalapalli" + git config --global user.email "amit.padmani@ayanworks.com" + git config --global user.name "Amit Padmani" if [ ${{ inputs.release-type }} == 'alpha' ]; then - pnpm run --dir packages/${{ inputs.package }} release ${{ inputs.release-type }} --npm.tag=alpha + pnpm run --dir packages/${{ inputs.package }} release --preRelease=${{ inputs.release-type }} --npm.tag=alpha else pnpm run --dir packages/${{ inputs.package }} release ${{ inputs.release-type }} --npm.tag=latest fi diff --git a/.release-it.json b/.release-it.json index 645afae..01c9e06 100644 --- a/.release-it.json +++ b/.release-it.json @@ -4,6 +4,7 @@ "commitArgs": ["--signoff"] }, "github": { - "release": true + "release": true, + "autoGenerate": true } } diff --git a/packages/ssi/package.json b/packages/ssi/package.json index 71cc493..fb4dd7d 100644 --- a/packages/ssi/package.json +++ b/packages/ssi/package.json @@ -1,6 +1,6 @@ { "name": "@adeya/ssi", - "version": "0.0.1-alpha.1", + "version": "0.0.1-alpha.2", "license": "Apache-2.0", "main": "build/index", "source": "src/index",