Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated release with version bump #5

Open
AlexandreHiroyuki opened this issue Dec 24, 2023 · 0 comments
Open

Automated release with version bump #5

AlexandreHiroyuki opened this issue Dec 24, 2023 · 0 comments
Labels
ci Continuous Integration

Comments

@AlexandreHiroyuki
Copy link
Owner

AlexandreHiroyuki commented Dec 24, 2023

Current Situation

When a new release is manually created on GitHub, an action is triggered to publish the package to PlatformIO registry.

Ideal Solution

If the field "version" is different between the files:
library.json
library.properties
It should trigger an error and not publish the package.

If the field "version" properly changed between commits on the main branch, tag the most recent commit with the version number.

@AlexandreHiroyuki AlexandreHiroyuki added the ci Continuous Integration label Dec 24, 2023
mohammedelgammal added a commit to mohammedelgammal/DataTome that referenced this issue Jan 20, 2025
docs: Assuring conventional commits

- This PR changed:
[prlint.yml]: Validates every PR against Conventional Commits to guarantee a healthy release and publish.
[release.yml]: Automates releasing a new version including all the necessary steps using semantic-release action.  Must pass prlint and tests CIs.
[publish.yml]: Automates publishing the new released version to PlatformIO registry and update versions in library.json and library.properties files.  Depends on [release.yml].
[CONTRIBUTING.md]: Added note for new contributors about conventional commit message.

resolves issue AlexandreHiroyuki#5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

No branches or pull requests

1 participant