File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: Publish Python Package
33on :
44 release :
55 types : [published]
6+ push :
7+ branches : [master]
68
79jobs :
810 build-and-publish :
2931
3032 - name : Build Package
3133 run : |
32- echo "GitHub Release Tag: ${{ github.event.release.tag_name }}"
34+ TAG_NAME="${{ github.event.release.tag_name }}"
35+ if [ -z "$TAG_NAME" ]; then
36+ echo "No release tag found. Generating dev version."
37+ VERSION="0.0.1.dev${{ github.run_number }}"
38+ else
39+ echo "GitHub Release Tag: $TAG_NAME"
40+ VERSION=$(echo "$TAG_NAME" | sed 's/^v//')
41+ fi
3342
34- VERSION=$(echo "${{ github.event.release.tag_name }}" | sed 's/^v//')
3543 echo "Building Version: $VERSION"
3644
3745 export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
Original file line number Diff line number Diff line change 11[project ]
2- name = " nexus"
2+ name = " agent- nexus-cli "
33version = " 0.1.0"
44description = " Nexus Is A CLI-Based AI Coding Agent That Transforms Natural Language Into Efficient, Production-Ready Code!"
55readme = " readme.md"
You can’t perform that action at this time.
0 commit comments