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

chore(release) minor quality-of-life tweaks #310

Closed
wants to merge 3 commits into from

Conversation

hishamhm
Copy link
Contributor

Inspired by work on #299 earlier this week, in particular:

Can be reproduced locally with ./util/release.sh --bin-all archv8 (temporarily rename or remove all release Dockerfiles but Dockerfile.amd64.archlinux to only build an ArchLinux release).

With this PR the above becomes ./util/release.sh bla --all --match archlinux. Marginal change, but keeps git status clean, and I can see myself using it again in the future.

Since I had to relearn how this script works since last time I used it, I figured I'd write a --help flag for my future self and ended up doing some more little tweaks in the process.

hishamhm added 3 commits June 23, 2023 17:50
A matter of taste, but that flag builds both source and binary packages, and
is "more powerful" than just "for i in * do --bin", so `--all` feels more
appropriate. `--bin-all` still works for backwards compat / muscle memory.

Plus a minor internal refactor to make it easier for the next person to spot
that those flags are mutually exclusive.
@hishamhm hishamhm force-pushed the chore/release.sh-match branch from 09e2a72 to 2a4b510 Compare June 23, 2023 20:50
@thibaultcha
Copy link
Member

Nice this coveralls ran even after rebase then, that should have done it!

@thibaultcha
Copy link
Member

Merged!

@thibaultcha thibaultcha deleted the chore/release.sh-match branch June 24, 2023 00:03
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.

2 participants