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

ci: add semantic release #584

Open
6 of 8 tasks
dubisdev opened this issue Aug 31, 2022 · 0 comments
Open
6 of 8 tasks

ci: add semantic release #584

dubisdev opened this issue Aug 31, 2022 · 0 comments

Comments

@dubisdev
Copy link
Contributor

dubisdev commented Aug 31, 2022

We can use semantic release GH action to analyze commits and automate releases and changelogs.

Roadmap

I will update it with PRs.

  • Get version from app.getVersion() and add it to process.env.CEREBRO_VERSION. By doing this, we dont depend on the package.json for getting the version and we can set it dinamically in CI with the result of the semantic-release.
  • Add linter to commits so we ensure they follow conventional-commit specification.
  • Add semantic-release step to GH actions
    • Move build step to new GH action, triggered by new releases.
      • Get the release version
      • Set it in CI by using the electron-builder cli options
        Should work with electron-builder -c.extraMetadata.version={{ semantic-release output version }}
      • Build the executables
@dubisdev dubisdev changed the title [CI]: add semantic release ci: add semantic release Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants