Commit Graph

2130 Commits

Author SHA1 Message Date
DeeDeeG
5b58255a5b script: Update check to exclude '-dev' versions
These should be rejected as not Rolling versions.
2024-01-30 01:22:17 -05:00
Andrew Dupont
52e2efd0a6 Fix CI validation trying to check for a file that has been deleted 2024-01-18 13:53:23 -08:00
Andrew Dupont
ee3f41e6e0 Don't try to parse non-CSON files as CSON 2024-01-11 15:07:08 -08:00
Andrew Dupont
0fd47f58c7 Skip incorrect CI behavior on changes to web-tree-sitter itself 2024-01-11 15:07:08 -08:00
confused_techie
26707b1f74
Update script/validate-wasm-grammar-prs.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-10-22 22:01:28 -07:00
confused-Techie
764d80c648 Added additional logging, and better comments 2023-10-17 00:45:23 -07:00
confused_techie
88aaaca0db
Update script/validate-wasm-grammar-prs.js
Co-authored-by: DeeDeeG <DeeDeeG@users.noreply.github.com>
2023-10-17 00:37:57 -07:00
confused-Techie
5b0093f229 Ensure to exit with 1 on fail conditions 2023-09-24 12:02:11 -07:00
confused-Techie
1ffda20c43 Check current head when fidning commits made since common ancestor 2023-09-24 12:01:46 -07:00
confused-Techie
d913e7fa9c Add new verbose logging 2023-09-24 12:01:02 -07:00
confused-Techie
f57ceb3dd1 Use origin/master instead of master 2023-09-24 12:00:17 -07:00
confused-Techie
b6f056fa58 Ensure we check the right commit 2023-09-23 19:45:48 -07:00
confused-Techie
ad37d2e0aa Create script to preform checks 2023-09-23 17:23:41 -07: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
0d01129459 Use special token instead of action permissions 2023-08-28 20:42:30 -07: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
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
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
1a6e20fb70 Export path on silicon to ensure we can use npm 2023-08-27 20:47:35 -07:00
confused-Techie
e18e8628d0 Ensure cirrus scripts don't upload rolling release on pr or commit builds 2023-08-27 20:42:50 -07:00
confused-Techie
96f9f91c0a Add rolling release script usage to CirrusCI 2023-08-27 20:20:38 -07:00
confused-Techie
ac4bcca7e1 Add automatic upload of binaries for push events
This script should upload any binaries it has to the `pulsar-rolling-releases` repo
2023-08-27 01:38:22 -07:00
DeeDeeG
d11f5238c9 script: Add basic error handling in CI binary renaming script
Throw literally the entire script into a try/catch.

This script should exit "cleanly" no matter what,
and avoid erroring out the overall CI run at all costs.

(This script is run on a best-effort basis, and should first do no
harm, since the automation it provides is easy to replicate manually.)
2023-08-16 19:19:07 -04:00
DeeDeeG
cfb9436484 script: Update version string check for binary renaming script
Need to check this way, since the CI script already modifies
the version string to end in something like "2023081600", not "-dev",
for Rolling releases (or for all builds other than Regular releases).

Also: Update and add more logging of what the script is doing.

Also also: Fix some spaces --> tabs on a couple of lines.
2023-08-15 21:59:34 -04:00
DeeDeeG
0dac1e514d CI: Automatically rename binaries for Regular releases
Adds a renaming script to rename the binaries with our
Regular release naming scheme, and updates the Cirrus config
to run said renaming script.

De-facto codifies our existing, officially unofficial naming scheme
with a bit of automation.

We can always revise this down the line
if consensus changes for how to name these files.

Just a little institutional knowledge to unburden team members with,
via the (sometimes double-edged sword...) of automation.
2023-08-15 20:28:18 -04:00
confused-Techie
1c3fb0bb24 Handle PATH, InstallLocation, and ATOM_HOME 2023-06-20 21:46:58 -07:00
confused-Techie
8bbdf1b0f6 Add hardcoded GUID, and comments about reasoning 2023-05-29 15:54:45 -07:00
Daeraxa
640b108b42
Add fpm option 2023-04-20 16:07:54 +01:00
confused-Techie
39761f0c0c Check instead for process.arch to optionally apply entitlements
Co-Authored-By: Maurício Szabo <mauricioszabo@users.noreply.github.com>
2023-04-10 17:58:28 -07:00
confused-Techie
b7195f9990 Add entitlements monkey-patch 2023-04-10 15:32:37 -07:00
Maurício Szabo
4f84c26732
Revert "[skip ci] Create i18n API" 2023-04-06 16:44:38 -03:00
Maurício Szabo
43764b8b4c
Merge pull request #463 from pulsar-edit/build-and-test
Build first, and test later
2023-04-06 11:06:35 -03:00
Maurício Szabo
a0f10d91d6 Seems that ZIP is just broken on CI anyway 2023-04-04 19:46:46 -03:00
Maurício Szabo
9003fc2be5 Making portable a ZIP 2023-04-04 16:42:25 -03:00
Maurício Szabo
9395f803fd Another wrong config... 2023-04-04 11:44:09 -03:00
Maurício Szabo
eafa4d3b66 Nothing ever works on the 10th try on CIs... 2023-04-04 02:26:39 -03:00
Maurício Szabo
2fd060c98c Another try on debugging builds 2023-04-04 00:59:17 -03:00
Maurício Szabo
ef882d5114 Of course, the docs are wrong... 2023-04-04 00:57:30 -03:00
Maurício Szabo
1c4611896a Trying again a Windows Portable ZIP 2023-04-04 00:44:28 -03:00
Maurício Szabo
72a28184a8
Back to 7zip for now... 2023-04-03 22:58:34 -03:00
Maurício Szabo
636d31d342 Fix windows config 2023-04-03 20:29:58 -03:00
Maurício Szabo
42f40b4aeb Trying to use ZIP for portable Windows 2023-04-03 20:16:55 -03:00
Meadowsys
bd284b3fab
include i18n dir in the built app 2023-03-26 18:49:07 -07:00
Meadowsys
1304373fb5
implement signing (monterey, xcode 14) 2023-02-15 17:57:27 -08:00
confused_techie
d0b9e7e65f
Merge pull request #372 from mdibella-dev/add-new-macos-icon
Add new macOS icon
2023-02-12 01:19:25 -08:00