Skip to content

feat(#547): select latest semantic release from remote - #715

Merged
AndreasAugustin merged 14 commits into
mainfrom
feat/#547
Sep 6, 2026
Merged

AndreasAugustin merged 14 commits into
mainfrom
feat/#547

Conversation

@AndreasAugustin

@AndreasAugustin AndreasAugustin commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #547.

  • Select the highest semantic-version tag directly from the source remote.
  • Add is_sync_to_latest_semver and is_include_prerelease action inputs.
  • Exclude prerelease tags by default, with optional inclusion.
  • Resolve both lightweight and annotated remote tags.
  • Add reusable semantic-version validation for the selected tag.
  • Add explicit return statuses across shell functions.
  • Centralize GitHub Actions log-group helpers in sync_common.sh.
  • Add shared test utilities and file-aligned shell test suites.
  • Add a sponsorship note to the README.

Validation

  • bash tests/sync_common_test.sh (18 passed)
  • bash tests/sync_template_test.sh (3 passed)
  • bash -n src/*.sh tests/*.sh
  • git diff --check

AndreasAugustin and others added 10 commits September 4, 2026 20:28
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Andreas Augustin <dev@andreas-augustin.org>
Use remote tags instead of local branch history when finding the latest semantic version. Support optional prerelease inclusion, centralize GitHub Actions log groups, and document the updated architecture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AndreasAugustin
AndreasAugustin marked this pull request as draft September 6, 2026 06:19
AndreasAugustin and others added 4 commits September 6, 2026 08:34
Expose semantic-version sync and prerelease options through action.yml, resolve remote tags in the sync flow, and add integration coverage with shared test helpers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add reusable semantic-version validation and explicit return handling across shell functions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add a sponsorship section to the project README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AndreasAugustin
AndreasAugustin marked this pull request as ready for review September 6, 2026 19:33
@AndreasAugustin
AndreasAugustin merged commit 5690206 into main Sep 6, 2026
10 checks passed
@AndreasAugustin
AndreasAugustin deleted the feat/#547 branch September 6, 2026 19:37
AndreasAugustin added a commit that referenced this pull request Sep 6, 2026
* chore(deps): configure updates and pin actions

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chore: configure Copilot cloud agent

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(workflows): use source token input

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: add shell BDD coverage

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: rename workflow to ci

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* ci: add workflow concurrency controls

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(#547): add function to get last semver version

Signed-off-by: Andreas Augustin <dev@andreas-augustin.org>

* feat(#547): select latest semantic release from remote

Use remote tags instead of local branch history when finding the latest semantic version. Support optional prerelease inclusion, centralize GitHub Actions log groups, and document the updated architecture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat(#547): add release-based sync inputs

Expose semantic-version sync and prerelease options through action.yml, resolve remote tags in the sync flow, and add integration coverage with shared test helpers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor(sync): return explicit function statuses

Add reusable semantic-version validation and explicit return handling across shell functions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* docs: add sponsorship note

Add a sponsorship section to the project README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix(tests): satisfy shellcheck

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Signed-off-by: Andreas Augustin <dev@andreas-augustin.org>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Andreas Augustin <dev@andreas-augustin.org>
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.

[Feat]: Ability to sync towards most recent semver release

1 participant