devonfw / ide

Tool to automate setup and update of development environment (esp. for Java projects).
Apache License 2.0
33 stars 102 forks source link

Improve release workflow to update settings submodule #1304

Open hohwille opened 11 months ago

hohwille commented 11 months ago

In ide repository we have a git submodule for ide-settings:

$ cat .gitmodules
[submodule "ide-settings"]
        path = settings/src/main/settings
        url = https://github.com/devonfw/ide-settings.git
        branch = master

With every release we also build a settings artifact with the current content of that repository. I just did this manually as preparation for the actual release 2023.08.001 with this commit. To avoid this manual overhead, it would be great if our release workflow would update this submodule automatically and commit the change before building and tagging the release here: https://github.com/devonfw/ide/blob/2db4c88762b9e7ca67aac903a5e04f57bf0eda9d/.github/workflows/release.yml#L35