Skip to content

Conversation

@sbuerk
Copy link
Member

@sbuerk sbuerk commented Feb 27, 2025

With this change the GitHub action based publishin
is enabled again after modernizing it.

  • Copy tailor package exclude configuration to the
    project to adjust which should be excluded and
    what not. This is required to tell tailor NOT
    to exclude the vendor folder used to ship hard
    required dependency for classic mode installations.
  • Add additional step to the publish workflow using
    composer to create a installation for the selected
    direct dependencies required in classic mode setups
    and not shipped by TYPO3 itself, removing unneeded
    stuff and autoload from the vendor folder. Further,
    PSR-4 autoload namespaces are added to the extension
    composer.json to tell TYPO3 to autoload additional
    packages.
  • Use tailor to create upload artifact first for given
    version tag.
  • Create GitHub release for version if not existing.
  • Attach tailor upload artifact to GitHub release,
    either created or pre-created.
  • Try upload created upload artifact with tailor to
    the TYPO3 Extension Repository, allow failing
    gracefully for now, because tailor based upload is
    broken but T3O/TER Team is working on it.
  • Document release workflow as maintainer only section
    in the README.md file. Nothing to hide, and maybe
    the whole process can server as example.

With this change the GitHub action based publishin
is enabled again after modernizing it.

* Copy tailor package exclude configuration to the
  project to adjust which should be excluded and
  what not. This is required to tell tailor **NOT**
  to exclude the `vendor` folder used to ship hard
  required dependency for classic mode installations.
* Add additional step to the publish workflow using
  composer to create a installation for the selected
  direct dependencies required in classic mode setups
  and not shipped by TYPO3 itself, removing unneeded
  stuff and autoload from the vendor folder. Further,
  PSR-4 autoload namespaces are added to the extension
  composer.json to tell TYPO3 to autoload additional
  packages.
* Use tailor to create upload artifact first for given
  version tag.
* Create GitHub release for version if not existing.
* Attach tailor upload artifact to GitHub release,
  either created or pre-created.
* Try upload created upload artifact with tailor to
  the `TYPO3 Extension Repository`, allow failing
  gracefully for now, because tailor based upload is
  broken but T3O/TER Team is working on it.
* Document release workflow as maintainer only section
  in the `README.md` file. Nothing to hide, and maybe
  the whole process can server as example.
@sbuerk sbuerk merged commit 7a65ac4 into main Feb 27, 2025
9 checks passed
@sbuerk sbuerk deleted the publish-workflow branch February 27, 2025 14:18
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.

3 participants