diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7579d97d..e518871d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,7 @@ jobs: python-version: 3.11 - run: | pip install poetry + poetry version ${GITHUB_REF##*/v} poetry build - uses: actions/upload-artifact@v3 with: @@ -31,4 +32,4 @@ jobs: - name: Publish Package Distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - packages_dir: artifact/ + packages_dir: artifact/ \ No newline at end of file diff --git a/datasette/metadata.json b/datasette/metadata.json index 481aa343..a9b0e92e 100644 --- a/datasette/metadata.json +++ b/datasette/metadata.json @@ -35,12 +35,13 @@ THEN substr(context, 1, instr(context, '[') - 1) ELSE context + JSON.stringify(obj, projectname) END AS stripped_text FROM context;" }, } } - + } }