Commit Graph

31 Commits

Author SHA1 Message Date
Alex Eagle 4ad02b7795
refactor(release): switch release integrity to be dynamic (#854)
* refactor(release): switch release integrity to be dynamic

This matches rules_py as documented by
https://blog.aspect.build/releasing-bazel-rulesets-rust

It has the benefit that developers no longer get yelled at to vendor some updated integrity hashes into bazel-lib every time they touch the Go sources.

* refactor: echo should produce trailing newline

* chore: bump action-gh-release to avoid Node 16 warning

* chore: update test that is sensitive to compilation mode

We now only use --compilation_mode=opt when cutting a release
2024-05-23 16:08:35 -07:00
Greg Magolan ffc5a7bfa1
chore: align ci patterns (#843) 2024-05-13 23:51:10 -07:00
renovate[bot] 81633f0c77
chore(deps): update actions/cache action to v4 (#744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 17:31:31 -08:00
Greg Magolan 5aaa785b96
chore: test against bazel 7.0.0 (#713) 2024-01-07 16:12:05 -08:00
Derek Cormier c3a8cb0c72
fix: remove need for rules_go when depending on a bzl_library target (#663) (#664) 2023-11-16 14:26:40 -08:00
Alex Eagle 339fd76bf0
chore: remove useless check for stamped binary (#618)
Since we stopped `--stamp`ing our releases, this check can never fail.
2023-10-10 20:32:11 -04:00
Alex Eagle 9174085429
fix(ci): always build with -c opt (#555)
We no longer stamp our version anywhere since the Go tools must have deterministic hashes, so remove the --stamp setup
2023-09-27 09:56:35 -07:00
Sahin Yort ef364b54b4
refactor: consume tools from source if unstamped (#543) 2023-09-24 15:06:10 -07:00
Sahin Yort 719b8f33b0
refactor: add ability to test against tools from source (#532) 2023-09-21 15:12:46 -07:00
renovate[bot] 89d8605502
chore(deps): update actions/checkout action to v4 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-15 18:18:05 -07:00
Alex Eagle e30284f2fa chore: use config.yml to indicate releaser
We want to cleanup our GitHub tokens, and this repo is different from all others by historical accident.
2023-04-06 16:58:07 -07:00
Alex Eagle 3d58a71c60 fixup! release: publish release artifact 2023-02-01 10:43:45 -08:00
Alex Eagle dead59b7b0 release: publish release artifact
GitHub's stability guarantee for the archive is iffy, and we want metrics on downloads.
See https://github.com/bazel-contrib/SIG-rules-authors/issues/11#issuecomment-1412241948
2023-02-01 10:43:45 -08:00
Greg Magolan 1aa5280092 chore: fixup GH release yaml 2023-01-03 12:37:05 -08:00
Greg Magolan 8457e351a1
chore: update release to include copy_to_directory action binary (#309) 2023-01-03 12:26:51 -08:00
Derek Cormier fa7fdc177e fix: use person as release author 2022-09-19 13:21:36 -07:00
Alex Eagle 0450c0c652 Update release.yml
Don't use my PAT, instead use the default credentials like our other rulesets do.
2022-09-14 12:10:21 -07:00
Derek Cormier cd6c2f63ee fix: broken gh actions cache 2022-08-19 08:42:26 -07:00
renovate[bot] 12db1f32f9
chore(deps): update actions/checkout action to v3 (#140)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:59 -07:00
renovate[bot] f6bc73cb28
chore(deps): update actions/cache action to v3 (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 13:00:44 -07:00
Alex Eagle 021b24e2df
chore: publish production releases, prep for 1.0 (#130) 2022-06-06 11:28:10 -07:00
Derek Cormier 6761d9da11
ci: use pat to perform release and allow subsequent workflows to trigger (#112) 2022-05-17 13:48:16 -07:00
Derek Cormier 5c226869a1
fix release token and set committer on bcr workflow (#111)
* ci: use github bot token for release

* ci: set committers and pr assignees in bcr workflow
2022-05-17 11:51:46 -07:00
Derek Cormier 97ef0a21fd
Revert "test: change release action to use app token (#99)" (#110)
This reverts commit 0bea5ccc49.
2022-05-17 06:32:50 -07:00
Derek Cormier 0bea5ccc49
test: change release action to use app token (#99) 2022-05-02 19:24:08 -07:00
Derek Cormier 81eaa054b7
build: fix ci build caching (#25) 2022-01-21 08:48:43 -08:00
Alex Eagle aca19c4ac7
fix: release archive needs a strip_prefix (#14)
Also remove some dead code
2021-12-11 12:43:57 -08:00
Alex Eagle 1c5fb6370b
refactor: simplify release (#13)
Fixes #12
2021-12-11 11:27:39 -08:00
Alex Eagle c891bbcf52 release: don't require manual edits to version.bzl
Instead the release process should key off the git tag
2021-11-11 06:57:46 -08:00
Alex Eagle 1c5ab3dad8 fix release 2021-11-08 07:26:45 -08:00
Alex Eagle 394f900560 Initial commit 2021-11-08 06:20:26 -08:00