From 8ff1f4ab2e1517397a42fe3c088e570ae8b593cd Mon Sep 17 00:00:00 2001 From: Michael Sprengel Date: Mon, 27 Nov 2023 11:41:11 +0100 Subject: [PATCH] Fix typo related to debian_source --- .github/workflows/build_pkg.yml | 3 +++ container/bin/build_source | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index dfe3c45..f3b2d60 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -51,6 +51,9 @@ jobs: repository: ${{ inputs.repository }} ref: ${{ inputs.ref }} path: input + - name: Exit if not triggered by tag + if: startsWith(github.ref, 'refs/tags/') == false + run: exit -1 - name: pull build container run: podman pull "${{ inputs.build_container }}:amd64" - name: fetch dependencies diff --git a/container/bin/build_source b/container/bin/build_source index 9e6bafa..9d43447 100755 --- a/container/bin/build_source +++ b/container/bin/build_source @@ -17,7 +17,7 @@ main() ( # Init some variables name="$(yq -r '.name' < "$inputs_file")" source="$(yq -r --arg name "$name" '.jobs[$name].with.source // "'$name'"' < "$inputs_file")" - debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_src // "'$debian_source'"' < "$inputs_file")" + debian_source="$(yq -r --arg name "$name" '.jobs[$name].with.debian_source // "'$debian_source'"' < "$inputs_file")" build_options="terse $(yq -r --arg name "$name" '.jobs[$name].with.build_options // ""' < "$inputs_file")" # Define Build Options