From 7a28f521c41d1bbb117538ac2f5af4772af96ea2 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 27 Jul 2024 18:49:27 +0200 Subject: [PATCH] ci: include version number in filename --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 688455a..b0816ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -118,6 +118,10 @@ jobs: echo "src oobfw file:///tmp/packages/packages-oobfw" >> /tmp/openwrt-imagebuilder/repositories.conf echo "src oobpkgs file:///tmp/packages/packages-oobpkgs" >> /tmp/openwrt-imagebuilder/repositories.conf cat /tmp/openwrt-imagebuilder/repositories.conf + - name: Set Version information + run: | + sed -i "s/^CONFIG_VERSION_NUMBER.*/CONFIG_VERSION_NUMBER=\"${{ needs.build-meta.outputs.firmware-version }}\"/g" /tmp/openwrt-imagebuilder/.config + sed -i "s/^CONFIG_VERSION_DIST.*/CONFIG_VERSION_DIST=\"ffda-oob\"/g" /tmp/openwrt-imagebuilder/.config - name: Build images run: | cd /tmp/openwrt-imagebuilder