Commit Graph

6 Commits

Author SHA1 Message Date
6eaef25902 fix(builds): point brew bundle command to Brewfile 2021-05-08 20:12:34 +01:00
c65bfdacf0 fix(builds): set correct compile output path for github-release 2021-05-08 20:07:48 +01:00
1e5c6c9dae chore(deps): use specific version of build-emacs-for-macos build script 2021-05-08 19:58:58 +01:00
acde4d4dbf feat(builds): add manual build GitHub Actions workflow 2021-05-08 19:48:50 +01:00
6510f68cdd feat(builds): add custom github-release tool
This tool is responsible for three distinct operations:

- Plan:
  - Accepts a optional git ref (branch/tag), defaulting to "master"
    branch if not specified.
  - Fetches commit information about the git-ref from the
    emacs-mirror/emacs GitHub repo.
  - Based on commit info, a plan.yml file is created, key information in
    it is the git ref, git SHA, date of commit, current macOS version
    and CPU architecture.
- Check:
  - Loads plan.yml and checks if GitHub Release name specified in plan
    exists, exiting with an error if it does not exist.
  - Checks if GitHub Release contains a asset file matching the name of
    the archive specified in the plan, exiting with an error if it does
    not exist.
  - If both GitHub Release and asset exist, it exits with not errors.
- Release:
  - Loads plan.yml and checks if archive specified in plan exists
    on disk.
  - Checks if GitHub Release name specified in plan exists, creating it
    if it does not exist.
  - Checks if GitHub Release contains a asset file matching that of
    archive specified in plan. If the asset it missing, it will be
    uploaded. If it exists but size does not match that of archive on
    disk, the existing asset will be replaced.
2021-05-08 19:48:36 +01:00
a3debe8a08 docs(readme): add readme 2021-05-08 18:04:49 +01:00