File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,21 +20,29 @@ jobs:
2020
2121 steps :
2222 - uses : actions/checkout@v3
23+ - name : Get version defined
24+ id : version
25+ run : echo "::set-output name=version::$(cat ./pyepsilla/vectordb/version.py |awk -F'"' '{print $(NF-1)}')"
26+
2327 - name : Bump version and push tag
2428 id : tag_version
2529 uses : mathieudutour/github-tag-action@v6.1
2630 with :
2731 github_token : ${{ secrets.PAT_TOKEN }}
28- tag_prefix : " "
29- dry_run : false
32+ tag_prefix : " "
33+ custom_tag : ${{ steps.version.outputs.version }}
34+ dry_run : false
35+
3036 - name : Set up Python
3137 uses : actions/setup-python@v3
3238 with :
3339 python-version : ' 3.x'
40+
3441 - name : Install dependencies
3542 run : |
3643 python -m pip install --upgrade pip twine
3744 pip install build
45+
3846 - name : Build package
3947 run : python -m build --sdist --wheel --outdir dist/ .
4048 - name : Publish distribution to PyPI
You can’t perform that action at this time.
0 commit comments