Skip to content

Commit

Permalink
Merge branch 'main' into feat/user_profile_widget_add_custom_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgur authored Nov 12, 2024
2 parents c57559b + c3e4c07 commit baa58d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-next-react-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,15 @@ jobs:
env:
CI: true
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}
- name: Set Next Version
run: |
SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-8)
CURRENT_DATE=$(date +'%Y%m%d')
echo "NEXT_VERSION=0.0.0-next-${SHORT_SHA}-${CURRENT_DATE}" >> $GITHUB_ENV
- name: Run pnpm publish
if: steps.check.outputs.run == 'true'
run: |
pnpm --filter "@descope/react-sdk" exec npm version "0.0.0-next-$(git rev-parse HEAD)" --git-tag-version=false
pnpm --filter "@descope/react-sdk" exec npm version "${NEXT_VERSION}" --git-tag-version=false
pnpm --filter "@descope/react-sdk" publish --access=public --no-git-checks --tag=next
env:
CI: true
Expand Down

0 comments on commit baa58d3

Please sign in to comment.