From f60413bf13aa03d46de8f7de49e4217761a34140 Mon Sep 17 00:00:00 2001 From: Amit Dhamu Date: Sat, 14 Jan 2023 11:34:07 +0000 Subject: [PATCH] Fix changeset --- .github/workflows/ci.yml | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e31541..d5bd48d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,6 +70,16 @@ jobs: branch: gh-pages folder: public + - name: Create Changeset + run: | + CHANGELOG=$(git --no-pager log ${{ steps.env_vars.outputs.PUBLISHED_VERSION }}..HEAD --format="%C(auto)%h %s") + DELIMITER="$(openssl rand -hex 8)" + + echo "RELEASE_NOTES<<${DELIMITER}" >> $GITHUB_OUTPUT + echo -e "$CHANGELOG" >> $GITHUB_OUTPUT + echo "${DELIMITER}" >> $GITHUB_OUTPUT + id: changeset + - name: Create Release if: github.ref == 'refs/heads/main' uses: actions/create-release@latest @@ -82,16 +92,6 @@ jobs: draft: false prerelease: false - - name: Create Changeset - run: | - CHANGELOG=$(git --no-pager log ${{ steps.env_vars.outputs.PUBLISHED_VERSION }}..HEAD --format="%C(auto)%h %s") - DELIMITER="$(openssl rand -hex 8)" - - echo "RELEASE_NOTES<<${DELIMITER}" >> $GITHUB_OUTPUT - echo -e "$CHANGELOG" >> $GITHUB_OUTPUT - echo "${DELIMITER}" >> $GITHUB_OUTPUT - id: changeset - - name: Publish to Registry run: | pkg_version=${{ steps.env_vars.outputs.NEW_VERSION }} diff --git a/package.json b/package.json index 0196a54..0c1527f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-input-suggestions", - "version": "2.3.2", + "version": "2.3.3", "description": "A React input component with pluggable suggestions and autocomplete", "keywords": [ "react",