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

Automatic update-version post-build. Enable precommit; just lint for now #79

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

pablo-mayrgundter
Copy link
Member

@pablo-mayrgundter pablo-mayrgundter commented Nov 7, 2023

  • Enable update-version post-build.

  • Precommit just does lint for now.

    • Git has a problem with changing directories into submodules during a pre-commit hook. There's no clear workaround yet, so not including build for now.

    • update-version also can't be called in the precommit bc the files staged for the commit can't be altered in flight. So I moved update-version to post-build. This is nice bc it shows you in your staged diff what the version will be when you commit. This is also how Share works.

Copy link
Contributor

@nickcastel50 nickcastel50 left a comment

Choose a reason for hiding this comment

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

LGTM

@pablo-mayrgundter pablo-mayrgundter merged commit 70efa72 into main Nov 7, 2023
@pablo-mayrgundter pablo-mayrgundter deleted the pablo-lint-precommit branch November 7, 2023 16:56
@pablo-mayrgundter pablo-mayrgundter changed the title Enable precommit; just lint for now Automatic update-vresion post-build. Enable precommit; just lint for now Nov 7, 2023
@pablo-mayrgundter pablo-mayrgundter changed the title Automatic update-vresion post-build. Enable precommit; just lint for now Automatic update-version post-build. Enable precommit; just lint for now Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants