Skip to content

Commit 0ac6489

Browse files
committed
CI: tag the images per date
This should allow keeping the older releaseas available. Signed-off-by: Robert Marko <[email protected]>
1 parent 136e90f commit 0ac6489

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ipq807x.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,14 @@ jobs:
7070
- name: Extract the image artifacts
7171
run: tar xf ipq807xx-images.tar
7272

73+
- name: Get the current date
74+
run: echo "NOW=$(date +%F)" >> $GITHUB_ENV
75+
7376
- name: Create a release
7477
uses: "marvinpinto/action-automatic-releases@latest"
7578
with:
7679
repo_token: "${{ secrets.GITHUB_TOKEN }}"
7780
prerelease: true
78-
title: "Updated prebuilt images"
79-
automatic_release_tag: "ipq807x-latest"
81+
title: "Updated prebuilt images ${{ env.NOW }}"
82+
automatic_release_tag: "ipq807x-${{ env.NOW }}"
8083
files: bin/targets/ipq807x/generic/*

0 commit comments

Comments
 (0)