Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Append Body feature not working(or i dont know how) #527

Open
CraftyRyte opened this issue Oct 11, 2024 · 0 comments
Open

Append Body feature not working(or i dont know how) #527

CraftyRyte opened this issue Oct 11, 2024 · 0 comments

Comments

@CraftyRyte
Copy link

CraftyRyte commented Oct 11, 2024

Hi. i was trying to use append body feature to append a certain text to my body file. it doesnt work.
heres my code:

name: Bump version

on:
  push:
    branches:
      - main

jobs:
  bump-version:
    if: "!startsWith(github.event.head_commit.message, 'bump:')"
    runs-on: ubuntu-latest
    name: "Bump version and create changelog with commitizen"
    steps:
      - name: Check out
        uses: actions/checkout@v3
        with:
          token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
          fetch-depth: 0
      - name: Create bump and changelog
        uses: commitizen-tools/commitizen-action@master
        with:
            github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
            changelog_increment_filename: body.md
      - name: Release
        uses: softprops/action-gh-release@master
        with:
          append_body: true
          body_path: "body.md"
          body: |
            ## Install the library! 
            PyPi page: https://pypi.org/project/pygess-py/
            Install using: `pip install pygess-py` (on Windows) `pip3 install pygess-py` (on Mac)"
          tag_name: ${{ env.REVISION }}
          name: "Release ${{ env.REVISION }}"
          generate_release_notes: true
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

i want to append :" ## Install the library!
PyPi page: https://pypi.org/project/pygess-py/
Install using: pip install pygess-py (on Windows) pip3 install pygess-py (on Mac)"
to body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant