From 958cbe25a53215f4fc925eda840c30d0d2fc6099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Georger?= Date: Sun, 25 Oct 2026 19:19:26 -0300 Subject: [PATCH] Refactor release workflow for environment variable sourcing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the release workflow to source environment variables from versions.env and modified the tag comparison logic. Signed-off-by: Nicolás Georger --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a5f4b99..f1eebb7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -57,11 +57,11 @@ jobs: shell: bash run: | set -euo pipefail + set -a + # shellcheck disable=SC1091 + source versions.env + set +a tag="${{ inputs.tag || github.ref_name }}" - while IFS= read -r line; do - case "$line" in ''|'#'*) continue ;; esac - echo "$line" >> "$GITHUB_ENV" - done < versions.env identity="$DSH_VERSION" [ -z "$RELEASE_REVISION" ] || identity="$DSH_VERSION-$RELEASE_REVISION" if [ "$tag" != "$identity" ]; then