Skip to content

Commit

Permalink
v0.0.7 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Jul 15, 2023
2 parents b7e556d + 5542168 commit 8487092
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Release
name: Release

on:
pull_request:
Expand All @@ -13,10 +13,6 @@ on:
env:
POETRY_VERSION: "1.4.2"

defaults:
run:
working-directory: python

jobs:
if_release:
if: |
Expand All @@ -28,6 +24,7 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v3
# Python Build
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Set up Python 3.11
Expand All @@ -36,15 +33,28 @@ jobs:
python-version: "3.11"
cache: "poetry"
- name: Build project for distribution
run: poetry build
run: cd python && poetry build
# JS Build
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache-dependency-path: "js/yarn.lock"
- name: Install dependencies
run: cd js && yarn install --immutable
- name: Build
run: cd js && yarn run build
- name: Check Version
id: check-version
run: |
echo version=$(poetry version --short) >> $GITHUB_OUTPUT
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "python/dist/*"
artifacts: |
- "python/dist/*"
- "js/dist/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
generateReleaseNotes: true
Expand All @@ -53,4 +63,4 @@ jobs:
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: "python/dist"
packages-dir: "python/dist"
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "langsmith",
"version": "0.0.6",
"version": "0.0.7",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
"files": [
"dist/",
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langsmith"
version = "0.0.6"
version = "0.0.7"
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
authors = ["LangChain"]
license = "MIT"
Expand Down

0 comments on commit 8487092

Please sign in to comment.