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

fix: use event name to set isPrerelease #1

Merged
merged 9 commits into from
Nov 9, 2022

Conversation

mikael-andersson91
Copy link
Owner

Use GITHUB_EVENT_NAME environment variable to determine if the triggering event was a pull request.

Use GITHUB_EVENT_NAME environment variable to determine if the triggering event was a pull request.
Add description to indicate that event is looked for in test.
Logic to determine prerelease based on if the triggering event was a pull request or if run on prerelease branch.
Use jest to mock implementation of tag creation for push events.
@mikael-andersson91 mikael-andersson91 merged commit 98b7698 into master Nov 9, 2022
@mikael-andersson91 mikael-andersson91 deleted the prerelease-tag-creation branch November 9, 2022 17:56
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.

1 participant