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

Version prefix is removed from Git tag and release name on release #286

Open
adamkudrna opened this issue Dec 11, 2020 · 0 comments
Open

Comments

@adamkudrna
Copy link

I'm using this action in my workflow and it behaves sort of unexpectedly to me.

      - name: Publish matching GitHub release draft
        id: github_release
        uses: JamesMGreene/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          allow_release_name_update: 'false'

While the Release Drafter action drafts new releases correctly with the v prefix, eg. v0.36.0, the prefix is suddenly removed when node-draft-releaser publishes the release draft, both in the release name and in the Git tag.

I'm not sure if I'm missing something or a get the options wrong but I'd expect the release name and tag to remain intact.

I tried to turn off the allow_release_name_update option but with no effect.

Could anyone please point me to a solution?

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