-
Ensure everything is ready
- CHANGELOG.md has the target version (e.g.
[1.5.0]) with date and full entry;[Unreleased]is at the top and empty or updated for the next cycle. - UPGRADING.md has a section “Upgrading to X.Y.Z” with what’s new, breaking changes (if any), and upgrade steps.
- Tests pass:
make testorcomposer test. - Code style:
make cs-checkorcomposer cs-check. - Assets built:
make assets(sosrc/Resources/public/js/pdf-signable.jsis up to date). - Translations:
make validate-translationspasses.
- CHANGELOG.md has the target version (e.g.
-
Commit and push any last changes to your default branch (e.g.
mainormaster):git add -A git commit -m "Prepare v1.5.0 release" git push origin HEAD -
Create and push the tag
git tag -a v1.5.0 -m "Release v1.5.0" git push origin v1.5.0 -
GitHub Actions (if .github/workflows/release.yml is configured) will create the GitHub Release from the tag.
-
Packagist (if the package is registered) will pick up the new tag; users can then
composer require nowo-tech/pdf-signable-bundle. See Registering on Packagist below if the package is not yet on Packagist.
For the bundle to be discoverable and installable via composer require nowo-tech/pdf-signable-bundle without adding a custom repository, it must be registered on Packagist.
- Create an account at packagist.org (or log in with GitHub).
- Submit the package: go to Submit and enter the repository URL:
https://github.com/nowo-tech/pdfSignableBundle- or
https://github.com/nowo-tech/pdfSignableBundle.git
- Packagist will fetch
composer.jsonfrom the root of the repository. Ensure:- name is
nowo-tech/pdf-signable-bundle(lowercase, hyphen-separated). - description is set (required for publication).
- There is no
versionfield incomposer.json(Packagist infers versions from Git tags, e.g.v1.0.0,v2.0.2).
- name is
- After submission, Packagist will auto-update when you push new tags (or you can trigger an update from the package page).
- Validate before submitting: run
composer validatein the bundle root (and fix any errors).
Once registered, the package appears in search, and users can install it with composer require nowo-tech/pdf-signable-bundle without any extra repository configuration.
- Keep
## [Unreleased]at the top of CHANGELOG.md for the next version; add new changes there. - Optionally bump
versionincomposer.jsonto the next dev (e.g.1.5.0-dev) for development.
- CHANGELOG: [2.0.4] with date; [Unreleased] at top; links updated.
- UPGRADING: “Upgrading to 2.0.4" with release date and upgrade steps.
- RELEASE: this checklist for v2.0.4.
- Run locally:
make testandmake cs-check. - Run locally:
make assets(bundle JS + worker built). - Run locally:
make validate-translations. - Run locally:
composer validate --strict(rootcomposer.json). - Commit and push:
git add -A && git commit -m "Prepare v2.0.4 release" && git push origin HEAD - Create and push tag:
git tag -a v2.0.4 -m "Release v2.0.4"thengit push origin v2.0.4
- CHANGELOG: Move [Unreleased] entries into
[X.Y.Z]with date; add new empty [Unreleased] at top; update version links at bottom. - UPGRADING: Add section "Upgrading to X.Y.Z" with release date, what's new, breaking changes (if any), and upgrade steps; update version compatibility table.
- RELEASE: Replace "Next release" checklist with "Ready for vX.Y.Z" and complete the steps above.
- Run
make test,make cs-check,make assets,make validate-translations. - Tag and push; create GitHub Release if workflow is configured.