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

Automated version increment [Part 1] #770

Merged
merged 3 commits into from
May 11, 2023
Merged

Conversation

sampocs
Copy link
Collaborator

@sampocs sampocs commented May 11, 2023

Closes: #XXX

Context and purpose of the change

Each upgrade, we need to increment Stride's version in all the import statements and in different Version variables. This process could easily be automated.
This PR introduces a github action that does the sed replacements and opens a new pull request with the changes. The action must be invoked manually.

Note: This will have to be merged to main before it can be fully tested since you can't run GH workflows that haven't been merged. Once this is merged, I can continue debugging in a side branch

Brief Changelog

  • Added version.sh script to sed replace the module name, all import paths, and the version references
  • Added GH action that:
    • Accepts user input for the version definitions
    • Creates a new branch
    • Updates the version
    • Commits and pushes the changes
    • Opens a pull request

Copy link
Contributor

@riley-stride riley-stride left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is sweet

@sampocs sampocs merged commit 778ed92 into main May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants