Update installer workflow to include date in filename
This commit is contained in:
parent
c9ab90547f
commit
d0e097039b
@ -28,6 +28,7 @@ jobs:
|
|||||||
id: setup
|
id: setup
|
||||||
run: |
|
run: |
|
||||||
echo "short_rev=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
|
echo "short_rev=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
|
||||||
|
echo "date=$(date +%Y%m%d)" >> "$GITHUB_OUTPUT"
|
||||||
- name: Build installer ISO
|
- name: Build installer ISO
|
||||||
run: |
|
run: |
|
||||||
nix build .#nixfiles.config.nixos.systems.installer.configuration.config.my.buildAs.iso
|
nix build .#nixfiles.config.nixos.systems.installer.configuration.config.my.buildAs.iso
|
||||||
@ -45,5 +46,5 @@ jobs:
|
|||||||
title: Latest installer
|
title: Latest installer
|
||||||
api_key: '${{ secrets.RELEASE_TOKEN }}'
|
api_key: '${{ secrets.RELEASE_TOKEN }}'
|
||||||
files: |
|
files: |
|
||||||
jackos-installer-${{ steps.setup.outputs.short_rev }}.iso
|
jackos-installer-${{ steps.setup.outputs.date }}-${{ steps.setup.outputs.short_rev }}.iso
|
||||||
jackos-installer-netboot-${{ steps.setup.outputs.short_rev }}.tar.zst
|
jackos-installer-netboot-${{ steps.setup.outputs.date }}-${{ steps.setup.outputs.short_rev }}.tar.zst
|
||||||
|
Loading…
Reference in New Issue
Block a user