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

READY: (willbe): Refactor commit operations and implement package version revert mecha… #1289

Merged
merged 6 commits into from
May 6, 2024

Conversation

Barsik-sus
Copy link
Contributor

…nism on failure.

Refactored separable git operations into individual functions (e.g., 'push' separated from 'commit'). Implemented package version revert mechanism to automatically revert to the old version when git operations fail. This involves the introduction of 'version_revert' and git 'reset' functions to handle version control more efficiently.

…nism on failure.

Refactored separable git operations into individual functions (e.g., 'push' separated from 'commit'). Implemented package version revert mechanism to automatically revert to the old version when git operations fail. This involves the introduction of 'version_revert' and git 'reset' functions to handle version control more efficiently.
Two tests are added to `version.rs`, testing version bump and version revert functionalities. The new tests cover the whole process of version change in a package, from the initial version to the updated version, as well as the reverting back to the original version.
@Wandalen Wandalen changed the title READY: (willbe): Refactor commit operations and implement package version revert mecha… NOT READY: (willbe): Refactor commit operations and implement package version revert mecha… May 1, 2024
@Wandalen
Copy link
Owner

Wandalen commented May 1, 2024

Fix conflicts, please @Barsik-sus

@Barsik-sus Barsik-sus changed the title NOT READY: (willbe): Refactor commit operations and implement package version revert mecha… READY: (willbe): Refactor commit operations and implement package version revert mecha… May 6, 2024
@Wandalen Wandalen merged commit 1867b48 into Wandalen:alpha May 6, 2024
1 check passed
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.

None yet

2 participants