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

feat: add support for generating draft release from GH Action with dist files #66

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

daltonmenezes
Copy link
Collaborator

@daltonmenezes daltonmenezes commented Mar 4, 2022

This PR:

  • Adds support for generating draft release from GitHub Action with dist files in it
    It will produce the following binaries:
    • Mac -> .zip (app), .dmg
    • Windows -> zip (portable), .exe
    • Linux -> AppImage, freebsd, pacman, rpm, deb

This helps and solves the current problem of Windows users building the app manually.

How to make a new release

  1. Perform git pull on terminal to sync
  2. Open the package.json file
  3. Update the version property describing the type of change you made to your project (semantic version is preferred)
  4. Run the following commands, just updating the version to the new version you have now changed in package.json:
git commit -am v3.3.2 && git tag v3.3.2 && git push && git push --tags

Now the action will be triggered and if all goes well you should find the draft release with the version you gave unpublished on the releases page when the action finishes the job gracefully, so you can edit it, make the changes you want and release it. 💜

@daltonmenezes daltonmenezes changed the title feat: add releases for Windows, Mac and Linux from GitHub Actions feat: add support for generating pre-release from GH Action with dist files Mar 6, 2022
@maykbrito maykbrito merged commit 21e1f77 into maykbrito:master Mar 6, 2022
@maykbrito
Copy link
Owner

That's AWESOME man! Tks 💛

@daltonmenezes daltonmenezes deleted the feat/releases branch March 6, 2022 17:26
@daltonmenezes daltonmenezes changed the title feat: add support for generating pre-release from GH Action with dist files feat: add support for generating draft release from GH Action with dist files Mar 6, 2022
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.

2 participants