You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While implementing #90, I discovered that the git operations performed by the Roundup Action in Maven and Python repositories have drifted apart.
For example, the "version bump" step for Python does
git push origin HEAD:main --force
while the Maven "version bump" step does
git push origin HEAD:main
The "GitHub release" step similarly differs in its handling, as does the "repo cleanup" step.
The Roundup Action uses the abstract factory design pattern to create Step objects appropriate to the Roundup. But it should also use the template method design pattern so that the git steps are identical between repository instances. For example, it could look like this (demonstrating two of the steps):
🐛 Describe the bug
While implementing #90, I discovered that the
gitoperations performed by the Roundup Action in Maven and Python repositories have drifted apart.For example, the "version bump" step for Python does
while the Maven "version bump" step does
The "GitHub release" step similarly differs in its handling, as does the "repo cleanup" step.
The Roundup Action uses the abstract factory design pattern to create
Stepobjects appropriate to the Roundup. But it should also use the template method design pattern so that thegitsteps are identical between repository instances. For example, it could look like this (demonstrating two of the steps):🕵️ Expected behavior
gitoperations should identical between Maven and Python repositories.📚 Version of Software Used
Current
stable.🩺 Test Data / Additional context
🦄 Related requirements
⚙️ Engineering Details