Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try fix publish workflow error #251

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.0-beta.9
current_version = 3.0.0-beta.10
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\-(?P<release>\w+).(?P<num>\d+)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
./node_modules/.bin/tree-sitter generate
./node_modules/.bin/tree-sitter test

- uses: actions/setup-python@v5
- uses: actions/setup-python@v4
with:
python-version: "3.10"

Expand Down Expand Up @@ -76,19 +76,19 @@ jobs:
name: artifact
path: py-usfm-parser/dist/

- name: Publish tree-sitter-usfm3 📦 to Test PyPI
- name: Publish tree-sitter-usfm3 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_token }}
# repository_url: https://test.pypi.org/legacy/
packages_dir: tree-sitter-usfm3/dist/

- name: Publish usfm-grammar 📦 to Test PyPI
- name: Publish usfm-grammar 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ ssecrets.pypi_token }}
password: ${{ secrets.pypi_token }}
# repository_url: https://test.pypi.org/legacy/
packages_dir: py-usfm-parser/dist/

4 changes: 2 additions & 2 deletions py-usfm-parser/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "usfm-grammar"
version = "3.0.0-beta.9"
version = "3.0.0-beta.10"
description = "Python parser for USFM files, based on tree-sitter-usfm3"
readme = "README.md"
authors = [{ name = "BCS Team", email = "joel@bridgeconn.com" }]
Expand All @@ -23,7 +23,7 @@ classifiers = [
keywords = ["usfm", "parser", "grammar", "tree-sitter"]
dependencies = [
'tree-sitter==0.22.3; python_version >= "3.9"',
'tree-sitter-usfm3==3.0.0-beta.9; python_version >="3.8"',
'tree-sitter-usfm3==3.0.0-beta.10; python_version >="3.8"',
'lxml==5.2.2; python_version >= "3.5"'
]
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion py-usfm-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tree-sitter==0.22.3
tree-sitter-usfm3==3.0.0-beta.9
tree-sitter-usfm3==3.0.0-beta.10
lxml==5.2.2
2 changes: 1 addition & 1 deletion py-usfm-parser/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def has_ext_modules(self):

setup(
name="usfm-grammar", # Required
version="3.0.0-beta.9", # Required
version="3.0.0-beta.10", # Required
python_requires=">=3.10",
# install_requires=["tree-sitter==0.22.3",
# "tree-sitter-usfm3==3.0.0-beta.7",
Expand Down
2 changes: 1 addition & 1 deletion py-usfm-parser/src/usfm_grammar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
Format = usfm_parser.Format
USFMParser = usfm_parser.USFMParser

__version__ = "3.0.0-beta.9"
__version__ = "3.0.0-beta.10"
4 changes: 2 additions & 2 deletions tree-sitter-usfm3/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tree-sitter-usfm3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tree-sitter-usfm3",
"version": "3.0.0-beta.9",
"version": "3.0.0-beta.10",
"description": "Grammar representation and parser for USFM language using tree-sitter",
"main": "bindings/node",
"types": "bindings/node",
Expand Down
2 changes: 1 addition & 1 deletion tree-sitter-usfm3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter-usfm3"
description = "Usfm3 grammar for tree-sitter"
version = "3.0.0-beta.9"
version = "3.0.0-beta.10"
keywords = ["incremental", "parsing", "tree-sitter", "usfm3"]
classifiers = [
"Intended Audience :: Developers",
Expand Down
Loading