OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
add npm tag (#1862)
Mike Fortman88d569c5a11e
diff --git a/.github/workflows/publish-sdk-typescript.yml b/.github/workflows/publish-sdk-typescript.ymlindex 57192e682..ebe70a7b4 100644--- a/.github/workflows/publish-sdk-typescript.yml+++ b/.github/workflows/publish-sdk-typescript.yml@@ -50,9 +50,20 @@ jobs:if: steps.check.outputs.exists == 'false'run: npm run build+ - name: Determine npm tag+ if: steps.check.outputs.exists == 'false'+ id: tag+ run: |+ VERSION=${{ steps.version.outputs.version }}+ if [[ "$VERSION" == *-* ]]; then+ echo "tag=dev" >> $GITHUB_OUTPUT+ else+ echo "tag=latest" >> $GITHUB_OUTPUT+ fi+- name: Publish to npmif: steps.check.outputs.exists == 'false'- run: npm publish --access public --provenance+ run: npm publish --access public --provenance --tag ${{ steps.tag.outputs.tag }}- name: Skip publish (version exists)if: steps.check.outputs.exists == 'true'