From d0e097039b0ab61edee89b404c08fafbfe719d85 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 21 Jul 2024 13:34:21 +0100 Subject: [PATCH] Update installer workflow to include date in filename --- .gitea/workflows/installer.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/installer.yaml b/.gitea/workflows/installer.yaml index 0dc70b3..0d18965 100644 --- a/.gitea/workflows/installer.yaml +++ b/.gitea/workflows/installer.yaml @@ -28,6 +28,7 @@ jobs: id: setup run: | echo "short_rev=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT" + echo "date=$(date +%Y%m%d)" >> "$GITHUB_OUTPUT" - name: Build installer ISO run: | nix build .#nixfiles.config.nixos.systems.installer.configuration.config.my.buildAs.iso @@ -45,5 +46,5 @@ jobs: title: Latest installer api_key: '${{ secrets.RELEASE_TOKEN }}' files: | - jackos-installer-${{ steps.setup.outputs.short_rev }}.iso - jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst + jackos-installer-${{ steps.setup.outputs.date }}-${{ steps.setup.outputs.short_rev }}.iso + jackos-installer-netboot-${{ steps.setup.outputs.date }}-${{ steps.setup.outputs.short_rev }}.tar.zst