SAP / ui5-webcomponents-ngx

UI5 Web Components for Angular provides directives for each UI5 Web Component. The directives allow to easily build your Angular application following the SAP Design System.
https://ui5-webcomponents-ngx.netlify.app/
Apache License 2.0
25 stars 4 forks source link

feat: automatic publishing #22

Closed g-cheishvili closed 1 year ago

g-cheishvili commented 1 year ago

Related Issue(s)

closes #14

Description

Added action for the automatic publishing of the library.

Features:

Reasonings behind doing certain things manually in the workflow and actions and not relying on Lerna:

Version bumps in Lerna are done via conventional-recommended-bump, but it does not take into account <V1 specifics, it may bump the major version, we do not need that for now, so I added version bump action for that.

Since the RCs are created from every PR, graduating that is resulting always with empty release notes. When someone is looking for releases, they are not interested in empty uninformative texts, so what I did is that I unified the changelogs from RCs before the graduated release and unified them in one release notes of the stable release.

I added prepare executor, it basically creates the tarball for the package, it also depends on build of itself and also on sync with the @ui5/webcomponents library

Removed yarn workspace config, because it was messing with nx badly, so now using lerna libs config

g-cheishvili commented 1 year ago

FYI for now, it works in dry-run. Does not publish anything