action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

feat: add generate from latest tag

Open pocesar opened this issue 1 year ago • 7 comments

This allows DETACHED HEAD tags to properly generate the RELEASE notes. Otherwise it will always try to generate the full release notes from multiple tags

pocesar avatar Jul 10 '23 16:07 pocesar

this looks good, and would love this feature 👀

ovy9086 avatar Jul 17 '23 10:07 ovy9086

Is there a voting mechanism here? 👍 would also love this feature.

sparadiso avatar Jul 19 '23 18:07 sparadiso

for now I've ended up using https://github.com/mikepenz/release-changelog-builder-action to generate the proper changelogs. it's a really nice action.

this is how my steps looks like if somebody just wants to copy paste it and don't spend too much time on it 😂

jobs:
    deploy:
        name: Create release

        runs-on: ubuntu-latest

        permissions:
            contents: write
            deployments: write
            pull-requests: read

        steps:
            - name: 'Build Changelog'
              id: build_changelog
              uses: mikepenz/release-changelog-builder-action@v4
              with:
                  token: '${{ github.token }}'

            - name: Create GitHub release
              uses: softprops/action-gh-release@v1
              with:
                  body: ${{steps.build_changelog.outputs.changelog}}

ovy9086 avatar Jul 19 '23 19:07 ovy9086

@softprops is this a feature that you intend to add? As there is a considerable amount of 👍 on the issue for this feature I'm curious if we should wait or to find a workaround.

caquino avatar Mar 25 '24 10:03 caquino

@pocesar can you fix the merge conflict for the PR, I can include this feature for the next release.

chenrui333 avatar Jun 19 '24 20:06 chenrui333

@softprops could we get this merged, since it appears to bring great value to all users with little to none added effort? 🙏🏼

fdventura avatar Jul 10 '24 13:07 fdventura

@fdventura there is merge conflict needs to be addressed first.

chenrui333 avatar Jul 18 '24 14:07 chenrui333