File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build_and_publish :
14- # this doesn't make sense if you don't have the PyPI secret
15- if : github.repository == 'py-pdf/pypdf'
1614 name : Publish a new version of pypdf
1715 runs-on : ubuntu-latest
1816
@@ -48,15 +46,13 @@ jobs:
4846 echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
4947 EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
5048 echo "tag_body<<$EOF" >> "$GITHUB_ENV"
51- git tag -l "${latest_tag}" --format='%(contents:body)' >> "$GITHUB_ENV"
49+ git --no-pager tag -l "${latest_tag}" --format='%(contents:body)' >> "$GITHUB_ENV"
5250 echo "$EOF" >> "$GITHUB_ENV"
5351 - name : Create GitHub Release 🚀
54- uses : actions/create-release@v1
55- env :
56- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ uses : softprops/action-gh-release@v1
5753 with :
58- tag_name : ${{ github.ref }}
59- release_name : Version ${{ env.latest_tag }}, ${{ env.date }}
54+ tag_name : ${{ env.latest_tag }}
55+ name : Version ${{ env.latest_tag }}, ${{ env.date }}
6056 draft : false
6157 prerelease : false
6258 body : ${{ env.tag_body }}
You can’t perform that action at this time.
0 commit comments