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",