From 76f03d0dca0742879315761494ac8347faca1921 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adin=20=C4=86ebi=C4=87?= Date: Tue, 21 May 2024 18:45:11 +0200 Subject: [PATCH] Make Github workflow for creating a release (#29) --- .github/generate-notes.sh | 39 ++++++++++++++++++++++++++++ .github/workflows/create-release.yml | 26 +++++++++++++++++++ MODULE.bazel | 2 +- 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100755 .github/generate-notes.sh create mode 100644 .github/workflows/create-release.yml diff --git a/.github/generate-notes.sh b/.github/generate-notes.sh new file mode 100755 index 0000000..83582c3 --- /dev/null +++ b/.github/generate-notes.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +set -euo pipefail + +readonly new_version=$1 +readonly release_archive="bazel_sonarqube.$new_version.tar.gz" + +sha=$(shasum -a 256 "$release_archive" | cut -d " " -f1) + +cat <