Skip to content

Commit

Permalink
Fix changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
adhamu committed Jan 14, 2023
1 parent 2654e89 commit f60413b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit f60413b

Please sign in to comment.