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

ci: Improve create-release action #46

Merged
merged 1 commit into from Jan 21, 2021
Merged

ci: Improve create-release action #46

merged 1 commit into from Jan 21, 2021

Conversation

jvfe
Copy link
Contributor

@jvfe jvfe commented Jan 20, 2021

Changes made:

  • Improve create-release action.

Something that bothered me seeing the releases for your repo was that it usually contained the default text, requiring you to manually go and edit the release so it contains something meaningful, which is a bit tedious.

See the current release (v0.1.22) for reference, which I believe you forgot to edit hahah.

Now I added some bash magic to the action so it extracts the info for the latest release through the changelog file. Basically an awk extraction that gets the text between the lastest and the second-to-latest tag.

I've tested it and it's working as intended. As long as you keep the same format for the changelog, should be all good. Just so you know how it would look, I used your changelog on a private repo and the action created this for v0.1.4:
image

Now it extracts the info for the latest release through the changelog.
Copy link
Owner

@vinisalazar vinisalazar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jvfe, that is a very welcome addition.

@vinisalazar vinisalazar merged commit 297164f into vinisalazar:dev Jan 21, 2021
@jvfe jvfe deleted the ci/improve-release branch January 21, 2021 16:45
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

Successfully merging this pull request may close these issues.

None yet

2 participants