Commit Graph

41264 Commits

Author SHA1 Message Date
confused-Techie
edc9558acf Link release notes to CHANGELOG.md instead of tagged version 2023-09-03 15:47:33 -07:00
confused_techie
f7dd7b010a
Merge pull request #704 from pulsar-edit/fix-file-context-menu-icon
[core] Fix the icon used when registering Pulsar as a file handler in Windows
2023-09-03 15:06:31 -07:00
confused-Techie
0ea30397bd Set the icon path to an icon that actually exists 2023-09-03 13:56:08 -07:00
confused_techie
2b4b216830
Merge pull request #700 from pulsar-edit/package-specs-manual-decaf
Decaf Packages Spec
2023-09-02 18:29:32 -07:00
confused-Techie
5084785fcf Stop using this in install-panel-spec.js 2023-08-31 22:11:26 -07:00
DeeDeeG
2c5600d53f
Merge pull request #702 from pulsar-edit/settings-view-themes-no-guessing-core-theme-repositories
settings-view: Don't fix repository for core themes
2023-08-31 23:39:38 -04:00
confused-Techie
90110ad812 Bring back most decaffed code to install-panel-spec.js to fix errors 2023-08-31 20:30:08 -07:00
confused-Techie
c042505f27 Add back returns to install-panel-spec.js beforeEach() statements to see if it resolves CI errors 2023-08-31 19:57:54 -07:00
DeeDeeG
6bfad4c0db settings-view: Don't fix repository for core themes
Stop inserting a best-guess `repository` field for built-in themes'
package.json data if they lack one in their actual package.json file.

Follow-up to https://github.com/pulsar-edit/pulsar/pull/264.

Doing this for the themes panel as well, since we just did it for the
installed-packages panel, and since it's good to be consistent.
2023-08-31 21:18:12 -04:00
DeeDeeG
4592d18499
Merge pull request #701 from pulsar-edit/Cirrus-Rolling-dont-build-same-commit-multiple-times
Cirrus: Skip builds if same commit was previously built
2023-08-31 13:53:58 -04:00
DeeDeeG
48531274b7 Cirrus: Skip builds if same commit was previously built
Doing this to save on CI credits that might otherwise be spent
re-building the same commit multiple times.

Also prevents us from publishing the same git revision as multiple
Rolling release versions published days apart from one-another.

For details of these env vars and the `skip` keyword, see:
- https://cirrus-ci.org/guide/writing-tasks/#environment-variables
- https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution
2023-08-31 03:16:00 -04:00
DeeDeeG
a08121d12f
Merge pull request #699 from pulsar-edit/CI-tweak-Cirrus-build-filters
CI: Tweak Cirrus build filter to allow tag pushes
2023-08-31 03:06:01 -04:00
confused-Techie
fe251689d4 Match indentation between CoffeeScript source and decaf 2023-08-30 23:52:33 -07:00
confused-Techie
57965f8837 Finish manual decaf settings-view 2023-08-30 23:50:21 -07:00
confused-Techie
9d30cd2276 Begin manual decaf of settings-view 2023-08-30 22:45:30 -07:00
DeeDeeG
b5918acfce
CI: Tweak Cirrus build filter to allow tag pushes
We were trying to filter for a certain PR label before,
but inadvertently checked the wrong env var,
based on interpreting some guidance we got from Cirrus team.

In researching what it should be instead, it occurred to me we can
indeed use the `CIRRUS_TAG` env var to check for *any tag push*,
which should actually do pretty well at filtering for releases
after all, since releases are the only times we really push tags.
2023-08-31 01:02:19 -04:00
confused-Techie
275a58c4a5 Manual decaf tree-view specs 2023-08-30 21:38:51 -07:00
confused-Techie
0d5864f986 Manual decaf status-bar specs 2023-08-30 21:30:44 -07:00
confused-Techie
12643554cc Machine decaf settings-view specs 2023-08-30 21:24:16 -07:00
confused-Techie
01b3f992ed Machine decaf status-bar specs 2023-08-30 21:06:20 -07:00
confused-Techie
13033724c2 Machine decaf tree-view specs 2023-08-30 21:05:12 -07:00
DeeDeeG
cb99b1a135
Merge pull request #675 from pulsar-edit/auto-rename-binaries-in-CI-for-Regular-releases
Automatically rename binaries in CI during Regular releases
2023-08-31 00:02:07 -04:00
confused_techie
77ba18bef6
Merge pull request #264 from Sertonix/patch-1
remove repository fallback
2023-08-30 20:15:24 -07:00
confused_techie
c96d60dde5
Merge pull request #698 from pulsar-edit/github-actions-dont-sign-forked-prs-macos
[meta] GitHub Actions: Don't sign macOS builds from forked repo PRs
2023-08-30 20:13:45 -07:00
confused-Techie
a93f1cac37 Simplify comment 2023-08-30 20:13:20 -07:00
confused-Techie
c3bdd11b17 Conditional signing of macOS binaries 2023-08-30 18:26:12 -07:00
confused-Techie
5f67985ab4 Set macOS signing vars as dedicated step 2023-08-30 00:15:05 -07:00
DeeDeeG
a624008c31 CI: Add binary renaming script to GitHub Actions
This script renames the Pulsar binaries to use the naming scheme
we use for all of the Regular release binaries.

It was already added to the Cirrus config,
now it's used in the GitHub Actions workflow as well.

(It checks the version string in package.json to know not to rename
the binaries unless we're actually trying to make a Regular release.)
2023-08-29 23:35:38 -04:00
DeeDeeG
f21824e730 script: Use process.exit() in renaming script
Gets rid of a lot of if-else that made the code harder to follow.

This should be pretty safe and unproblematic in a standalone script
like this, versus some more complex or nested Node process scenario,
or scenarios with async input/output that might be ongoing
when the process.exit() is handled.

Also, update some of the code comments a bit.

Co-authored-by: Andrew Dupont <github@andrewdupont.net>
2023-08-29 22:48:43 -04:00
DeeDeeG
5ecd2b8475 Merge branch 'master' into auto-rename-binaries-in-CI-for-Regular-releases 2023-08-29 22:28:06 -04:00
confused-Techie
338361803d Merge branch 'master' into pr/264 2023-08-29 19:09:21 -07:00
confused_techie
f922b10662
Merge pull request #695 from pulsar-edit/grant-perms-to-action
[meta] Ensure Actions can upload Rolling Releases
2023-08-28 20:44:48 -07:00
confused-Techie
0d01129459 Use special token instead of action permissions 2023-08-28 20:42:30 -07:00
confused-Techie
85827f781c Provide extra permissions to GitHub Action to ensure it can create releases 2023-08-28 20:22:32 -07:00
confused_techie
38b6a7be59
Merge pull request #694 from pulsar-edit/add-manual-trigger-to-build
[meta] Cleanup `push` trigger, add `workflow_dispatch`
2023-08-28 19:28:51 -07:00
confused-Techie
761b228148 Cleanup push trigger, add workflow_dispatch 2023-08-28 19:27:16 -07:00
confused_techie
1df7747d4f
Merge pull request #682 from pulsar-edit/convert-cirrus-to-github-actions
Migrate most binary building to GitHub Actions
2023-08-28 19:11:29 -07:00
confused-Techie
4ce257c8eb Add limits to when the cirrus script will run 2023-08-28 17:44:31 -07:00
confused-Techie
6c1bef5562 Uncomment macOS signing values 2023-08-28 17:35:05 -07:00
DeeDeeG
313ae1aafe CI: Fix env var usage for Cirrus config
Env vars acan't be set per script, only per task, apparently.
2023-08-28 04:01:05 -04:00
DeeDeeG
c4a2d9d06c CI: New Rolling release upload token for Cirrus
Add a new token that can upload Rolling release binaries from Cirrus
to GitHub Releases for the Rolling repo.

Prefer this token in the upload script if it is set in the
corresponding env var ROLLING_UPLOAD_TOKEN, otherwise try GITHUB_TOKEN
(This allows the script to work in Cirrus, where the new env var will
be set, and in GitHub Actions where we use the GITHUB_TOKEN.)

(Testing to see if this can be set per-script, otherwise we will have
to set it for the whole task instead.)
2023-08-28 03:49:15 -04:00
confused-Techie
fd8b05b724 Use callback instead of async 2023-08-27 23:58:40 -07:00
confused-Techie
66382cb967 Pin retry action version 2023-08-27 23:02:39 -07:00
confused-Techie
63efba6e45 Better logging, and error handling in script 2023-08-27 23:00:54 -07:00
confused-Techie
3de1f29f90 Use CIRRUS_CRON instead 2023-08-27 22:27:24 -07:00
confused-Techie
503fda3dcb Inverted logic of length check 2023-08-27 22:26:08 -07:00
confused-Techie
1e460303ff Switch on macOS visual tests (I don't know if these actually work) 2023-08-27 21:06:15 -07:00
confused-Techie
d57cac2668 Switch style of file loop 2023-08-27 21:05:40 -07:00
confused-Techie
19e36ad43e pack => packageJson 2023-08-27 21:04:16 -07:00
confused_techie
1500cea824
Update .github/workflows/build.yml
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-08-27 21:02:30 -07:00