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

[READY] Only build if branch looks like release tag #24

Closed
wants to merge 2 commits into from

Conversation

stevenjack
Copy link
Owner

Problem

The build and deploy works whenever a tag is pushed up (This is only done for releases). Issues is that the branch is being checked to see if it's master when intact it's the tag name.

Solution

Use a regex to check if it's a version tag then run the build.

Move the tests out of the if block as they should run regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant