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

Build and publish a hex.pm package automatically #474

Merged
merged 1 commit into from
Jul 18, 2022
Merged

Conversation

zorbash
Copy link
Contributor

@zorbash zorbash commented Jul 14, 2022

The goal of this PR is to have a GH action build and then publish a new hex.pm package version when a tag starting with v is pushed.

We'll still need to push a commit like e588b0f to bump the version is mix.exs and update the changelog before cutting a release.

Requirements

We have to set secrets.HEX_API_KEY.

@mbuhot
Copy link
Collaborator

mbuhot commented Jul 15, 2022

I've added a GitHub secret for HEX_API_KEY for a new Hex.pm account: openapispex-deploy with ownership permissions on the package.

@zorbash zorbash requested a review from mbuhot July 15, 2022 10:02
Copy link
Collaborator

@mbuhot mbuhot left a comment

Choose a reason for hiding this comment

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

👍 OK let's try it out

@mbuhot mbuhot merged commit 2026d55 into master Jul 18, 2022
@mbuhot mbuhot deleted the publish-hex branch July 18, 2022 05:24
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.

2 participants