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

build: Automate release process #15

Closed

Conversation

MikeRatcliffe
Copy link
Owner

Adds GitHub Actions workflow for automated releases, including:

  • Build for multiple OSs:
    • macOs (Universal dmg for both Intel & M1)
    • Windows exe
    • Linux:
      • AppImage
      • deb
      • rpm
    • Changelog is automatically generated when a version number tag is added to a commit e.g. v0.9.2.

This streamlines the release process and ensures consistent releases across all platforms.

Usage:

  1. Update version number in package.json.
  2. git commit -m "Release v0.9.2"
    git push origin v0.9.2
    
  3. That's it... a release will be automatically generated along with conventional commit messages and installation packages for each platform.

To ensure we pick up all changes we should probably add the conventional commits pre-commit hook to ensure commit messages contain the required fix, feat etc.

Adds GitHub Actions workflow for automated releases, including:

- Build for multiple OSs:
   - macOs (Universal `dmg` for both Intel & M1)
   - Windows `exe`
   - Linux:
      - `AppImage`
      - `deb`
      - `rpm`
   - Changelog is automatically generated when a version number tag is added to a commit e.g. `v0.9.2`.

This streamlines the release process and ensures consistent releases across all platforms.

Usage:

1. Update version number in `package.json`.
2. ```
   git commit -m "Release v0.9.2"
   git push origin v0.9.2
   ```
3. That's it... a release will be automatically generated along with conventional commit messages and installation packages for each platform.

To ensure we pick up all changes we should probably add the conventional commits pre-commit hook to ensure commit messages contain the required `fix`, `feat` etc.
@MikeRatcliffe MikeRatcliffe deleted the automate-release-process branch September 18, 2024 18:57
@MikeRatcliffe MikeRatcliffe restored the automate-release-process branch September 18, 2024 20:53
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.

1 participant