Skip to content

Releases: Panquesito7/submodules-alternative

v1.7.0: Code organizing and improvements

28 Sep 20:18
Compare
Choose a tag to compare

Changelog

  • Remove the customizable PR body.
    • Now, it will always use a template body and update it according to its needs.
  • Fix PR labelling. Previously, the script had issues when labelling PRs.
  • Use a faster and the latest LuaCheck version from Lunarmodules/LuaRocks.
  • Adjust code files in directories such as src and tools.
  • Code cleanup, documenting, and organizing.

v1.6.0: Major improvements and changes

08 Aug 03:25
c76e95a
Compare
Choose a tag to compare

Changelog

  • Fix the wrong e-mail used for the GitHub Actions bot when committing.
  • Add repository code owners (currently, it's only me for now).
  • The script will automatically exit if one_pr is disabled and squash_commits is enabled.
  • Fix an error in update-repos.lua that would exit the script if no commit message was provided.
  • Use single-quoting in commits and titles, which will allow other symbols such as !.
  • Automatically adjust directory name. You can freely add / at the end or at the beginning and the script will attempt to adjust it.
  • Improve Windows support. Previously, if you ran the scripts on Windows, it wouldn't work.
    • It is still recommended to use Ubuntu on GitHub Actions, though.
  • Repository names can include .git at the end. Previously, this affected when getting the default branches and in other code utilities.
  • Add a security policy to let the users know how to properly report errors.
  • Add pull request labeling, allowing as many labels as you want.
  • Use github.action_path when running the scripts, which speeds up the process by a few seconds, as the workflow previously cloned the scripts.

v1.5.7: Fix PR's title/description

21 Jul 02:28
3658fb6
Compare
Choose a tag to compare

Changelog

  • Fix the PR title and description when updating the subtrees.
    • Previously, it was shown as $repo_name.

v1.5.6: Branch bugfixes

20 Jul 18:21
Compare
Choose a tag to compare

Changelog

  • Add Socialify banner.
  • Checkout to the newly created branch when updating the repositories.
    • The script will attempt to checkout to the main branch of the current repository before creating a new branch. This also prevented proper repository updating.

v1.5.5: Automatic branch deleting

17 Jul 18:48
d974196
Compare
Choose a tag to compare

Changelog

  • Branches can be automatically deleted each time the action is run if enabled.
    • This is still experimental and needs to be tested extensively.

v1.5.4: major bugfixes

04 Jul 21:48
Compare
Choose a tag to compare

Changelog

  • The squash commits option has been fixed and can be used properly.
  • Subtree update/addition has been changed to use new commands and the subtree updating fixes the merge conflicts and uses the branch that will be merged (git checkout --theirs).
  • A few other bugfixes and improvements.

v1.5.3: More bugfixes

04 Jul 18:13
34e44a7
Compare
Choose a tag to compare

Changelog

  • Use the proper commands when adding or updating a subtree.
    • Note that you might need to re-add your subtrees in order for the updating commands to work in case you squashed.
  • The squash_commits option has been disabled, as it removes the initial commit of the subtrees, which makes them not work properly.
    • This will be investigated further, and hopefully a solution will be made soon.
  • The fetch-repos.lua script has been updated to let the user choose the desired commit message.
  • A few other minor bugfixes, improvements, and code cleanup.

v1.5.2: More bugfixes

30 Jun 17:35
4db6bf5
Compare
Choose a tag to compare

Changelog

  • When creating a new branch when updating the repositories, do not switch to it automatically.
  • Do not use arguments when loading the repos file. Load it directly by using the repos_filename action input.
  • Fix a major bug that prevented proper repository update. The commit message was taken as multiple parameters if not used as a string.
  • Do not waste limited API requests if there's already a defined branch for the given repository.
  • If there are no repository update changes, do not create any new branches or commits.

v1.5.1: Minor bugfixes

29 Jun 23:51
84e5484
Compare
Choose a tag to compare

Changelog

  • A few bugfixes were made for the update-repos script.

v1.5.0: Major improvements

29 Jun 20:10
abe957f
Compare
Choose a tag to compare

Changelog

  • The option to create one single PR or multiple PRs has been added.
    • Note: This only works for update_repos. add_repos will always be created in one single PR.
  • The squash_commits is much safer now as it doesn't rebase already pushed commits. You can also choose to squash commits by running the scripts manually.
  • The check-variables.lua script has been renamed to helper-functions.lua which includes a few other miscellaneous functions that are used across the repository.
  • All repositories are properly updated by using the proper Git commands, which previously did not work.
  • A few other minor code cleanup and changes.