Skip to content

Commit

Permalink
REL: 0.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinThoma committed Jul 19, 2023
1 parent 58f9199 commit 0e95067
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:

jobs:
build_and_publish:
# this doesn't make sense if you don't have the PyPI secret
if: github.repository == 'py-pdf/pdfly'
name: Publish a new version
runs-on: ubuntu-latest

Expand Down Expand Up @@ -43,19 +41,15 @@ jobs:
id: prepare_variables
run: |
git fetch --tags --force
latest_tag=$(git describe --tags --abbrev=0)
echo "latest_tag=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
echo "tag_body<<EOF" >> $GITHUB_ENV
echo "$(git tag -l \"${latest_tag}\" --format='%(contents:body)')" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
echo "tag_body2=$(git tag -l \"${latest_tag}\" --format='%(contents:body)')" >> $GITHUB_ENV
echo "tag_body3=$(git tag -l ${git describe --tags --abbrev=0} --format='%(contents:body)')" >> $GITHUB_ENV
echo "tag_body<<$EOF" >> "$GITHUB_ENV"
git tag -l "${GITHUB_REF_NAME}" --format='%(contents:body)' >> "$GITHUB_ENV"
echo "$EOF" >> "$GITHUB_ENV"
- name: Create GitHub Release 🚀
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
name: Version ${{ env.latest_tag }}, ${{ env.date }}
name: Version ${{ GITHUB_REF_NAME }}, ${{ env.date }}
draft: false
prerelease: false
body: Body is ${{ env.tag_body }}
2 changes: 1 addition & 1 deletion pdfly/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.12"
__version__ = "0.2.13"

0 comments on commit 0e95067

Please sign in to comment.