update release yml (#8364)

only do the step that tags and adds release notes if its langchain
This commit is contained in:
Harrison Chase 2023-07-27 16:49:04 -07:00 committed by GitHub
parent f499e6ea6a
commit cddd8ae83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ jobs:
echo version=$(poetry version --short) >> $GITHUB_OUTPUT
- name: Create Release
uses: ncipollo/release-action@v1
if: ${{ inputs.working-directory == 'langchain' }}
with:
artifacts: "dist/*"
token: ${{ secrets.GITHUB_TOKEN }}