93 Commits

Author SHA1 Message Date
Mitchell Hashimoto
7ae5e7c83d ci: minisign must be run in the nix env 2024-10-24 20:06:24 -07:00
Mitchell Hashimoto
1a12355dc9 ci: add signing and tarball generation to release-tip workflow 2024-10-24 16:32:43 -07:00
dependabot[bot]
1cee9cc698 build(deps): bump cachix/install-nix-action from 29 to 30
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 29 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v29...v30)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 00:16:50 +00:00
dependabot[bot]
998827e4c6 build(deps): bump cachix/install-nix-action from V28 to 29
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V28 to 29. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V28...v29)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-27 00:40:39 +00:00
Mitchell Hashimoto
08ee0c1038 ci: use xcode 16 2024-09-20 13:47:46 -07:00
dependabot[bot]
31207dbb6e build(deps): bump cachix/install-nix-action from V27 to 28
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from V27 to 28. This release includes the previously tagged commit.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/V27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 00:56:03 +00:00
Mitchell Hashimoto
ac2a0a04d4 ci: build releasesafe builds for macOS 2024-08-31 21:32:45 -07:00
Mitchell Hashimoto
3ba0787ec2 macOS: save dSYM files
The focus of this commit is to store the dSYM files associated with
official macOS builds. dSYM files allow us to map crash reports to
source.

The dSYM files are primarily uploaded to our official blob storage where
all releases are also stored. We also upload the dSYM files to Sentry
since I'm experimenting with using that for crash reproting (note:
manual crash reporting, no automatic network traffic).

This commit also changes our blob URLs for releases to use the full
Git SHA rather than a build number. This is much easier to trace back.
2024-08-28 21:33:32 -07:00
Nihaal Sangha
fae848da00 Use standard GitHub Actions committer info 2024-08-05 16:40:47 +01:00
Mitchell Hashimoto
c290a28667 macos: update Sparkle to 2.6.3
There are numerous fixes since our previous version (2.5.1) and I
believe at least one is one that users have hit where unarchiving didn't
work properly despite a properly built archive. I'm hoping this improves
that.

Besides this, there is one major security fix. I think it was low risk
to our project currently but I read through it and it is sensible to
protect against the case.
2024-06-29 08:11:36 -05:00
Mitchell Hashimoto
c7d37dad4b update release job 2024-05-31 14:02:54 -07:00
dependabot[bot]
d2323990ee ---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 00:26:05 +00:00
dependabot[bot]
4498752665 build(deps): bump cachix/install-nix-action from 26 to 27
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 26 to 27.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v26...V27)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 00:28:23 +00:00
Mitchell Hashimoto
69d4e4f2a7 ci: put debug build in release 2024-03-27 09:58:17 -07:00
Mitchell Hashimoto
b743b797f6 ci: add debug build to release-tip for macos 2024-03-27 09:46:20 -07:00
Mitchell Hashimoto
c2053cba98 ci: release tip moves to namespace 2024-03-26 19:59:20 -07:00
Mitchell Hashimoto
3d704837d0 Merge pull request #1574 from mitchellh/dependabot/github_actions/cachix/install-nix-action-26
build(deps): bump cachix/install-nix-action from 24 to 26
2024-03-10 20:05:01 -07:00
dependabot[bot]
11921c9cd4 build(deps): bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 00:29:40 +00:00
dependabot[bot]
d5eb5a88bc build(deps): bump cachix/install-nix-action from 24 to 26
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 00:29:36 +00:00
Mitchell Hashimoto
42f77bd985 ci: revert back to using r2 action 2024-03-04 21:17:26 -08:00
Mitchell Hashimoto
a494cf920d ci: test 2024-03-04 21:15:21 -08:00
Mitchell Hashimoto
c37a595b81 ci: test aws for release 2024-03-04 21:10:08 -08:00
Mitchell Hashimoto
6d8fb512a5 ci: rename github release jobs for r2 2024-03-04 20:54:32 -08:00
Mitchell Hashimoto
39934dd7c2 ci: try new gha for r2 upload 2024-03-04 20:47:44 -08:00
Mitchell Hashimoto
76f2b44955 Revert "ci: try to use namespace for macos to see if that fixes builds"
This reverts commit d56bec8b9a7f11c5ed6ada5979399179b1faf794.
2024-03-04 17:41:54 -08:00
Mitchell Hashimoto
d56bec8b9a ci: try to use namespace for macos to see if that fixes builds 2024-03-04 17:34:35 -08:00
Mitchell Hashimoto
1189a0974d ci: switch linux to namespace 2024-02-10 13:41:41 -08:00
dependabot[bot]
0a67718c28 build(deps): bump cachix/cachix-action from 13 to 14
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 00:56:58 +00:00
Mitchell Hashimoto
a12ef43441 ci: specifically target the main Ghostty target 2024-01-14 19:06:01 -08:00
Mitchell Hashimoto
f6e93c8748 ci: release should only run with a main main ref 2024-01-07 12:34:36 -08:00
Mitchell Hashimoto
64e3cbf28c ci: explicitly sign our release entitlements on build
Fixes #1169
2023-12-28 10:37:45 -08:00
Mitchell Hashimoto
c2a132c068 ci: remove macos unsigned releases 2023-12-27 22:25:38 -08:00
dependabot[bot]
6a726ed715 build(deps): bump cachix/cachix-action from 12 to 13
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 12 to 13.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v13)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 00:57:44 +00:00
Mitchell Hashimoto
f56ed57b57 prettier 2023-12-22 14:49:32 -08:00
Mitchell Hashimoto
b222cf33bd ci: swap magic-nix-cache with cachix
Cachix doesn't have rate limit issues like GitHub Actions does and I'd
love to support the Nix community. Plus, I have experience with Cachix
before and they've been so great.
2023-12-22 14:36:28 -08:00
Jeffrey C. Ollie
d8e1aebfcd enable magic nix cache to improve build times 2023-12-22 14:28:27 -06:00
Mitchell Hashimoto
d1b90e1689 ci: uncomment the release-to-github code 2023-12-19 09:38:02 -08:00
Mitchell Hashimoto
8218c96cc6 ci: manually codesign since --deep is deprecated 2023-12-19 08:04:21 -08:00
Mitchell Hashimoto
79416cc0a7 ci: codesign nested frameworks 2023-12-18 22:45:22 -08:00
Mitchell Hashimoto
b5aaad9d34 ci: correct filename for appcast 2023-12-18 21:32:22 -08:00
Mitchell Hashimoto
3baa6213b0 ci: disable releases temporarily 2023-12-18 21:25:26 -08:00
Mitchell Hashimoto
c352d88afd ci: generate appcast, upload it 2023-12-18 21:18:52 -08:00
Mitchell Hashimoto
51fa5ea3d4 ci: setup sparkle binaries in release 2023-12-18 20:18:46 -08:00
Mitchell Hashimoto
68a23e786d macos: put build numbers back into info.plist, other metadata
This adds more metadata back into the Info.plist for a build. This
metadata is used with the About window. The reason I want the build
number back is so that we have a monotonically increasing number to do
self-updating with (i.e. Sparkle).
2023-12-18 18:56:34 -08:00
Mitchell Hashimoto
f12371ec1c Revert "Revert "ci: use Cirrus macOS VMs (#985)""
This reverts commit 7022fe86d52bece810a4b15354dc693cc1483ae1.
2023-12-04 11:01:19 -08:00
Mitchell Hashimoto
7022fe86d5 Revert "ci: use Cirrus macOS VMs (#985)"
This reverts commit 0da12bd10eb81090d9b6ed919befd7bdd37caf6d.

Secret access failed, we'll add this back once that is fixed.
2023-12-03 21:18:26 -08:00
Mitchell Hashimoto
0da12bd10e ci: use Cirrus macOS VMs (#985) 2023-12-03 20:46:01 -08:00
dependabot[bot]
191c4a061a build(deps): bump cachix/install-nix-action from 23 to 24
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 00:46:10 +00:00
Mitchell Hashimoto
76353415a3 ci: release-tip only works on this repository 2023-11-14 08:41:59 -08:00
Gregory Anders
72f754c6cf macos: use commit hash in version info instead of build number
Using the "build number" (i.e. the commit number) did not seem to work
correctly anyway (it always showed '1' for releases built in CI).
Presumably this is because GitHub performs a shallow clone so it does
not have full access to the Git history.

Instead of the build number, use the Git commit hash of HEAD, which
works even for shallow clones and is more useful for debugging.
2023-10-23 07:43:55 -05:00