Skip to content

Commit 3f88761

Browse files
Upload jar with release as well
1 parent dba9650 commit 3f88761

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
release:
2020
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.4.0
2121
with:
22-
release_files: archives/release.tar.gz
22+
release_files:
23+
- archives/release.tar.gz
24+
- archives/bazel-diff_deploy.jar
2325
prerelease: false
2426
draft: true
2527
tag_name: ${{ inputs.tag_name || github.ref_name }}

.github/workflows/release_prep.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ tar --exclude-vcs \
1313
--exclude=archives \
1414
-zcf "archives/release.tar.gz" .
1515

16+
make release_deploy_jar
17+
18+
cp bazel-bin/cli/bazel-diff_deploy.jar archives/bazel-diff_deploy.jar
19+
1620
SHA=$(shasum -a 256 archives/release.tar.gz | awk '{print $1}')
1721

1822
cat << EOF

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 = "18.0.3",
3+
version = "18.0.4",
44
compatibility_level = 0,
55
)
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ First, add the following snippet to your project:
320320
#### Bzlmod snippet
321321

322322
```bazel
323-
bazel_dep(name = "bazel-diff", version = "18.0.3")
323+
bazel_dep(name = "bazel-diff", version = "18.0.4")
324324
```
325325

326326
You can now run the tool with:
@@ -447,7 +447,7 @@ bazel run @bazel-diff//cli:bazel-diff -- bazel-diff -h
447447
</tr>
448448
<tr>
449449
<td align="center"><a href="https://github.com/purkhusid"><img src="https://avatars.githubusercontent.com/u/5622403?s=64" width="64" alt="Daniel P. Purkhus"/><br/><sub><b>Daniel P. Purkhus</b></sub></a></td>
450-
<td align="center"><sub><b>Alex Eagle</b></sub></td>
450+
<td align="center"><a href="https://github.com/alexeagle"><img src="https://avatars.githubusercontent.com/u/47395?s=64" width="64" alt="Alex Eagle"/><br/><sub><b>Alex Eagle</b></sub></a></td>
451451
<td align="center"><a href="https://github.com/Malinskiy"><img src="https://avatars.githubusercontent.com/u/2089114?s=64" width="64" alt="Anton Malinskiy"/><br/><sub><b>Anton Malinskiy</b></sub></a></td>
452452
<td align="center"><a href="https://github.com/sharmila-oai"><img src="https://avatars.githubusercontent.com/u/257629015?s=64" width="64" alt="Sharmila"/><br/><sub><b>Sharmila</b></sub></a></td>
453453
<td align="center"><a href="https://github.com/dkostyrev"><img src="https://avatars.githubusercontent.com/u/183590?s=64" width="64" alt="Dmitrii Kostyrev"/><br/><sub><b>Dmitrii Kostyrev</b></sub></a></td>

0 commit comments

Comments
 (0)