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

Automate publish on version changes #56

Merged
merged 6 commits into from
Apr 28, 2023
Merged

Automate publish on version changes #56

merged 6 commits into from
Apr 28, 2023

Conversation

ericmj
Copy link
Member

@ericmj ericmj commented Apr 26, 2023

Uses the new package scoped API keys from Hex.

ericmj added 3 commits April 27, 2023 00:00

Verified

This commit was signed with the committer’s verified signature.
didinele Denis-Adrian Cristea

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ericmj ericmj requested a review from whatyouhide April 26, 2023 22:07

git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git tag "v$(shell cat VERSION)"
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this strip the potential newline in the VERSION file?

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like $(...) strips it.

@wojtekmach
Copy link
Contributor

Awesome!

Co-authored-by: Andrea Leopardi <an.leopardi@gmail.com>
@ericmj ericmj force-pushed the ericmj/automate-publish branch from 582ea34 to 84691c8 Compare April 28, 2023 11:26
@ericmj
Copy link
Member Author

ericmj commented Apr 28, 2023

I did some testing but cannot 100% test the full flow until there's a new release. Let's hope it works 🤞

@ericmj ericmj merged commit f107901 into main Apr 28, 2023
@ericmj ericmj deleted the ericmj/automate-publish branch April 28, 2023 11:27
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

3 participants