What are alternatives to --no-commit-hooks
and --no-git-tag-version
or how to set different version bump message for yarn version
?
#6028
Replies: 1 comment
-
So, it looks like I've been looking for replacements for the above hooks but haven't tested the behavior of the script:
- ... some preparing scripts
- git tag -a v$APP_VERSION -m "v$APP_VERSION"
- yarn version patch
- git pull origin $CI_COMMIT_REF_NAME -X theirs --no-commit && git commit -a -m "chore(release): v$APP_VERSION" --no-verify
- git push -o ci.skip --tags origin HEAD:$CI_COMMIT_REF_NAME --no-verify Using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're migrating from the classic yarn to version 4 and encountered an issue with our version bump CI job since the
--no-commit-hooks
and--no-git-tag-version
flags are not there anymore with the modern yarn versions.This is a part of the Gitlab CI job we use for bumping the version (using the classic yarn):
What would be the alternative way of doing this with yarn v4?
To break it down:
Beta Was this translation helpful? Give feedback.
All reactions