-
-
Notifications
You must be signed in to change notification settings - Fork 50
feat: add tag.output to manage the tag output #228
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
base: main
Are you sure you want to change the base?
Conversation
* tag.strip-prefix is required for mono repo structures if I need to run ```shell svu n --tag.prefix foo/v --tag.pattern 'foo/v*' --log.directory foo > foo/.version svu n --tag.prefix bla/v --tag.pattern 'bla/v*' --log.directory bla > bla/.version export BLA_NEXT=$(cat bla/.version) export FOO_NEXT=$(cat foo/.version) docker tag foo foo:${FOO_NEXT} docker tag bla bla:${BLA_NEXT} ``` I do not want FOO and BLA _NEXT to have the prefix * added --config to be able to have multiple config files to make monorepo usage easier
I think you can simply set |
No, because the repo has 56 modules in it needing the tag prefix since they
are released independently and when I tried setting the tag pattern with no
tag prefix it complained about not finding any matching tags to version bump
|
maybe then we split Or even make it a slice, so it could have |
I like this, but will do |
Updated and it ended up being |
Directories []string | ||
Always bool | ||
KeepV0 bool | ||
StripPrefix bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed i think
tag.output is required for mono repo structures if I need to run
I do not want FOO and BLA _NEXT to have the prefix. So now I can do
fixes consider making config an argument #203
--config
to be able to have multiple config files to make monorepo usage easierI made sure the
log.directory
config entry works as relative to the config path so you can doui-service/.svu.yml
->OR
.ui-service.svu.yml
->