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

Optional empty commits #22

Merged
merged 8 commits into from
Sep 14, 2019
Merged

Conversation

kingofzeal
Copy link
Contributor

Apparently it was easier than I anticipated. This should address #21.

I'm not sure if you wanted to standardize around env or using the inputs/withfeature. I went withinputs` because it allowed for a more explicit default value if it is not provided, and at the end of the day I think it all gets exposed the same way.

I also played with doing a more consolidated change to the bash file (not using if), but this way seems cleaner when it comes to non-zero exit codes from git commit.

I did test this with my own site, and confirmed it works as expected when making website changes, when making non-website changes, and when the parameter is not defined (as it will be for pretty much everyone using this once it's released).

@peaceiris peaceiris requested review from peaceiris and removed request for peaceiris September 14, 2019 04:22
@peaceiris peaceiris self-assigned this Sep 14, 2019
entrypoint.sh Outdated Show resolved Hide resolved
@peaceiris
Copy link
Owner

After some testing, I will merge this Pull Request and release v2.3.0. Thank you very much @kingofzeal

@peaceiris peaceiris self-requested a review September 14, 2019 18:43
@peaceiris peaceiris merged commit 241ef9f into peaceiris:master Sep 14, 2019
@kingofzeal kingofzeal deleted the optionalEmptyCommits branch September 15, 2019 00:52
@kingofzeal kingofzeal restored the optionalEmptyCommits branch September 15, 2019 00:53
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