Skip to content

Commit 797eb2a

Browse files
add publish job back in
1 parent 259571a commit 797eb2a

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Publish new releases to Bazel Central Registry.
2+
name: Publish to BCR
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
tag_name:
7+
description: git tag being released
8+
required: true
9+
type: string
10+
jobs:
11+
publish:
12+
uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.1.0
13+
with:
14+
tag_name: ${{ inputs.tag_name }}
15+
# GitHub repository which is a fork of the upstream where the Pull Request will be opened.
16+
registry_fork: maxwellE/bazel-central-registry
17+
attest: false
18+
author_name: Maxwell Elliott
19+
author_email: maxwell@elliott.now
20+
committer_name: Maxwell Elliott
21+
committer_email: maxwell@elliott.now
22+
permissions:
23+
contents: write
24+
id-token: write
25+
attestations: write
26+
secrets:
27+
# Necessary to push to the BCR fork, and to open a pull request against a registry
28+
publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module(
22
name = "bazel-diff",
3-
version = "17.1.6",
3+
version = "17.1.7",
44
compatibility_level = 0,
55
)
66

MODULE.bazel.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)