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

Documentation: Issue with tagging #281

Open
iJustErikk opened this issue Jul 30, 2023 · 0 comments
Open

Documentation: Issue with tagging #281

iJustErikk opened this issue Jul 30, 2023 · 0 comments

Comments

@iJustErikk
Copy link

I had an issue running the yml in the readme. On running "publish", I got "Error: ⚠️ GitHub Releases requires a tag". Action-gh-release requires a pushed existing tag (specified by tag_name). I switched to ncipollo. For a tag, I just chose something random. I might have missed something, but I'll put this here in case someone has a better idea for updating the readme. Hopefully this unsticks some people :)

  • name: 'create release'
    uses: ncipollo/release-action@v1
    with:
    token: ${{ secrets.GITHUB_TOKEN }}
    tag: ${{ github.run_id }}-${{ github.run_attempt }}
    draft: false
    artifacts: ./artifacts/**/*
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