Skip to content

Commit d39da5a

Browse files
Merge pull request #181 from rabbitmq/remove-bazel
Remove Bazel-related files
2 parents d2e2a3f + 6afdf41 commit d39da5a

18 files changed

+3
-543
lines changed

.bazelrc

Lines changed: 0 additions & 56 deletions
This file was deleted.

.bazelversion

Lines changed: 0 additions & 1 deletion
This file was deleted.

.bcr/config.yml

Whitespace-only changes.

.bcr/metadata.template.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

.bcr/presubmit.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.bcr/source.template.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/publish-rabbitmq-bcr.yml

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,12 @@ jobs:
1515
id: versions
1616
working-directory: osiris
1717
run: |
18-
sudo npm install --global --silent @bazel/buildozer
18+
VERSION_ERLANG_MK="$(sed -ne 's/PROJECT_VERSION = \(.*\)/\1/p' Makefile)"
1919
20-
# VERSION_ERLANG_MK="$(sed -ne 's/PROJECT_VERSION = \(.*\)/\1/p' Makefile)"
21-
22-
# if [[ "${{ github.ref_name }}" != "v$VERSION_ERLANG_MK" ]]; then
23-
# echo "Version in Makefile ($VERSION_ERLANG_MK) does not match tag (${{ github.ref_name }})"
24-
# exit 1
25-
# fi
26-
27-
VERSION_BAZEL="$(cat MODULE.bazel | buildozer 'print version' -:%module)"
28-
29-
if [[ "${{ github.ref_name }}" != "v$VERSION_BAZEL" ]]; then
30-
echo "Version in MODULE.bazel ($VERSION_BAZEL) does not match tag (${{ github.ref_name }})"
20+
if [[ "${{ github.ref_name }}" != "v$VERSION_ERLANG_MK" ]]; then
21+
echo "Version in Makefile ($VERSION_ERLANG_MK) does not match tag (${{ github.ref_name }})"
3122
exit 1
3223
fi
33-
34-
echo "version=$VERSION_BAZEL" | tee -a $GITHUB_OUTPUT
3524
- name: FETCH THE SOURCE ARCHIVE
3625
run: |
3726
curl \

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,4 @@ osiris.d
2121

2222
*.jar
2323

24-
/user.bazelrc
25-
/bazel-*
26-
2724
/.vscode/

BUILD.bazel

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)