File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ jobs:
2626 FLIT_USERNAME : __token__
2727 FLIT_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
2828 run :
29- echo "{env.RELEASE_NOTE_VERSION }={$(git describe --tags)}" >> "$GITHUB_ENV"
29+ echo "{env.RELEASE_VERSION }={$(git describe --tags --abbrev=0 )}" >> "$GITHUB_ENV"
3030 # pip install flit
3131 # flit publish
3232 - name : Create Release Notes
3333 run :
34- echo "Changelog for release ${RELEASE_NOTE_VERSION }:"
35- cz changelog --file-name ${RELEASE_NOTES_BODY_FILE} ${RELEASE_NOTE_VERSION }
34+ echo "Changelog for release ${RELEASE_VERSION }:"
35+ cz changelog --file-name ${RELEASE_NOTES_BODY_FILE} ${RELEASE_VERSION }
3636 cat ${RELEASE_NOTES_BODY_FILE}
3737 - name : Create Github Release
3838 uses : softprops/action-gh-release@v1
3939 with :
4040 body_path : ${{ env.RELEASE_NOTES_BODY_FILE }}
41- tag_name : ${{ env.RELEASE_NOTE_VERSION }}
41+ tag_name : ${{ env.RELEASE_VERSION }}
You can’t perform that action at this time.
0 commit comments