File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949
5050 - name : Get the changelog underline
5151 id : changelog_underline
52+ env :
53+ RELEASE : ${{ steps.calver.outputs.release }}
5254 run : |
53- underline="$(echo "${{ steps.calver.outputs.release }} " | tr -c '\n' '-')"
55+ underline="$(echo "$RELEASE " | tr -c '\n' '-')"
5456 echo "underline=${underline}" >> "$GITHUB_OUTPUT"
5557
5658 - name : Update changelog
6466 regex : false
6567
6668 - name : Check Update changelog was modified
69+ env :
70+ MODIFIED_FILES : ${{ steps.update_changelog.outputs.modifiedFiles }}
6771 run : |
68- if [ "${{ steps.update_changelog.outputs.modifiedFiles }} " = "0" ]; then
72+ if [ "$MODIFIED_FILES " = "0" ]; then
6973 echo "Error: No files were modified when updating changelog"
7074 exit 1
7175 fi
9599 body : ${{ steps.tag_version.outputs.changelog }}
96100
97101 - name : Build a binary wheel and a source tarball
102+ env :
103+ NEW_TAG : ${{ steps.tag_version.outputs.new_tag }}
98104 run : |
99105 git fetch --tags
100- git checkout ${{ steps.tag_version.outputs.new_tag }}
106+ git checkout "$NEW_TAG"
101107 uv build --sdist --wheel --out-dir dist/
102108 uv run --extra=release check-wheel-contents dist/*.whl
103109
Original file line number Diff line number Diff line change 1010 disable : true
1111 superfluous-actions :
1212 disable : true
13- template-injection :
14- disable : true
You can’t perform that action at this time.
0 commit comments