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

The version output by script/version should indicate if there are any uncommitted changes or any unignored untracked files #685

Closed
rgoldberg opened this issue Dec 29, 2024 · 0 comments · Fixed by #688
Assignees
Labels
🧽 chore Administrative task: documentation, build, test, release, git, etc.
Milestone

Comments

@rgoldberg
Copy link
Contributor

The version output by script/version should indicate if there are any uncommitted changes or any unignored untracked files.

Indicate this by appending a + to the version name.

Use the following zsh to achieve it:

"${"$(git diff-index HEAD --;git ls-files --exclude-standard --others)":++}"
@rgoldberg rgoldberg added the 🧽 chore Administrative task: documentation, build, test, release, git, etc. label Dec 29, 2024
@rgoldberg rgoldberg added this to the 1.8.9 milestone Dec 29, 2024
@rgoldberg rgoldberg self-assigned this Dec 29, 2024
rgoldberg added a commit to rgoldberg/mas that referenced this issue Dec 30, 2024
… or unignored untracked files.

Resolve mas-cli#685

Signed-off-by: Ross Goldberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 chore Administrative task: documentation, build, test, release, git, etc.
Projects
None yet
1 participant