Commit graph

34 commits

Author SHA1 Message Date
Jake Cooper
52d1500e2d
refactor: Move crates.io publish to release.yml for parallelization (#751)
- auto-release.yml now only handles: debounce, CI wait, version bump, tag push
- release.yml handles all publishing in parallel: crates.io, npm, binaries

This makes auto-release faster (~4 min instead of ~8 min) and allows
publishing to run in parallel with binary builds.

Flow:
  auto-release.yml: PR merge → debounce → bump → push tag
                                                    ↓
  release.yml:      tag push → parallel jobs:
                               ├── build binaries (matrix)
                               ├── publish crates.io
                               └── publish npm (OIDC)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 13:07:14 -08:00
Jake Cooper
4adc473bef
fix: Remove dead json check from scale command (#733)
* fix: Remove dead json check from scale command

The scale command doesn't have a --json flag, so the check
for key == "json" in DynamicArgs::from_arg_matches was dead code.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: Update npm to v11.5+ for OIDC trusted publishing

npm OIDC trusted publishing requires npm 11.5+, but Node 22
ships with npm 10.x by default. This adds a step to update
npm before publishing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 10:59:07 -08:00
Jake Runzer
ad2df4be91
ci: add registry-url for npm OIDC trusted publishers (#732) 2026-01-08 13:32:09 -05:00
Jake Runzer
30d325e19c
Revert "ci: Fix npm publish auth (#726)" (#730)
This reverts commit 6b5b9ace40.
2026-01-08 13:16:40 -05:00
Jake Cooper
6b5b9ace40
ci: Fix npm publish auth (#726) 2026-01-08 09:35:36 -08:00
Jake Runzer
e78f6c0ad3
Fix npm OIDC publishing by removing registry-url (#723)
setup-node with registry-url creates an .npmrc expecting NODE_AUTH_TOKEN,
which conflicts with OIDC trusted publisher flow. Removing it lets npm
handle OIDC authentication directly.
2026-01-07 17:31:25 -05:00
Jake Runzer
a6bc173d99
Use OIDC Trusted Publisher for npm publishing (#720)
Replace NPM_TOKEN secret auth with OIDC-based Trusted Publisher.
Adds provenance attestation for supply chain security.
2026-01-07 02:08:25 -05:00
Milo
8899549d9e
windows arm (#580) 2024-12-16 18:08:03 -05:00
Jake Runzer
20c0365768 checkout code npm 2024-10-21 21:35:07 -04:00
Jake Runzer
58a6d64158 fix typo ubuntu-latest 2024-10-21 21:25:40 -04:00
Jake Runzer
91781128b8
publish to npm as part of release workflow (#568)
* publish to npm as part of release workflow

* delete separate publish-npm workflow file

* update nodejs version
2024-10-21 21:15:38 -04:00
Jake Runzer
6c27e37d62 use wildcard for gh asset upload 2024-10-21 21:02:51 -04:00
Jake Runzer
e7f7c15211 maybe fix shell expansion windows 2024-10-21 20:57:41 -04:00
Jake Runzer
e800e0642b
fix asset releases (#567)
* fix asset releases

* add quotes around version
2024-10-21 20:42:19 -04:00
Jake Runzer
da229de533 upload assets with draft: true 2024-10-21 20:01:17 -04:00
Jake Runzer
574fadf487 fix job name so generating debs work 2024-10-21 19:55:55 -04:00
Jake Runzer
9495333000
create draft release before publishing (#566)
* create draft release before publishing

* remove second publish release

* clean some stuff up
2024-10-21 19:43:48 -04:00
Jake Runzer
022b2600ea
notify discord on release (#534)
* notify discord on release

* update copy
2024-08-14 16:24:44 -04:00
Daniel
609af83a35
Update docker publish workflow (#530)
Add check for cli version validity
2024-08-14 02:22:42 -04:00
Milo
2cd77cafcc
Fix release CI and NPM CI (#509) 2024-06-06 20:55:30 +01:00
Daniel
1dad2e9f87
Fix i686-pc-windows-gnu target build (#479)
* Update release.yml

* Update release.yml
2024-02-20 06:08:07 -10:00
Tomio
7c1cf4fd7a
fix build on i686-pc-windows-gnu (#389)
* fix build on `i686-pc-windows-gnu`

* `use_cross` != `use-cross`
2023-03-24 23:17:20 -04:00
Tomio
63bdd11b57
release binary for i686-pc-windows-gnu (#380) 2023-03-17 15:17:09 -04:00
Tomio
c54950f5be
fix generation of .tar.gz archives on windows (#381)
* fix generation of `.tar.gz` archives on windows

* shorten filename
2023-03-17 15:16:51 -04:00
Gregory Schier
478d9fbc5e Revert all the things 2023-03-10 16:12:43 -08:00
Gregory Schier
0f57a0c79c Fix workflow conditionals 2023-03-10 15:44:50 -08:00
Gregory Schier
30bf93f87b Fix action logic 2023-03-10 15:35:41 -08:00
Gregory Schier
1add103277 Fix version variable 2023-03-10 15:26:09 -08:00
Gregory Schier
47bd500646 Update release workflow 2023-03-10 15:19:39 -08:00
Gregory Schier
41f198b7a1 Update release to happen on release merge 2023-03-10 14:56:37 -08:00
Tomio
145c1d72e6
release binary for x86_64-pc-windows-gnu (#332) 2023-03-06 13:26:28 +00:00
Nebula
a53bf791ad
release tarfiles for windows (#325) 2023-03-05 17:28:27 +00:00
Nebula
111640b91b
fix release workflow (#306)
* fix release workflow

* fix install script

* fix ci branch name
2023-03-03 22:45:13 -05:00
Nebula
0cfb79da46
Migrate to CLI v3 (#304)
* delete everything

* migrate to v3

* basic logout command

* remove pre-release text

* additional error handling in rlwy domain

* fixed backwards logic on rlwy domain

* accept environment id in rlwy run

* default environment on rlwy link if there's only 1

* dont print plugins and services if there are none

* skip serializing nones

* remove entities file

* rename ServiceDomains

* link to project upon init

* remove description prompt

* fully remove description prompt

* remove dead code

* refactor some of the commands

* update repo target

* fix broken render_config

* cleanup unused vars

* remove muts

* bump cargo version to 3.0.0

* change repo on Cargo.toml

---------

Co-authored-by: Angelo <asara019@fiu.edu>
2023-03-03 21:44:32 -05:00