From 0ac64898826b643016c8e37f488411b62250a556 Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Sat, 12 Mar 2022 12:42:05 +0100 Subject: [PATCH] CI: tag the images per date This should allow keeping the older releaseas available. Signed-off-by: Robert Marko --- .github/workflows/ipq807x.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ipq807x.yaml b/.github/workflows/ipq807x.yaml index c86c2a8dcfbddb..6459de10031c88 100644 --- a/.github/workflows/ipq807x.yaml +++ b/.github/workflows/ipq807x.yaml @@ -70,11 +70,14 @@ jobs: - name: Extract the image artifacts run: tar xf ipq807xx-images.tar + - name: Get the current date + run: echo "NOW=$(date +%F)" >> $GITHUB_ENV + - name: Create a release uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true - title: "Updated prebuilt images" - automatic_release_tag: "ipq807x-latest" + title: "Updated prebuilt images ${{ env.NOW }}" + automatic_release_tag: "ipq807x-${{ env.NOW }}" files: bin/targets/ipq807x/generic/* \ No newline at end of file