Skip to content

Commit

Permalink
CI: tag the images per date
Browse files Browse the repository at this point in the history
This should allow keeping the older releaseas available.

Signed-off-by: Robert Marko <robimarko@gmail.com>
  • Loading branch information
robimarko committed Mar 13, 2022
1 parent 6715565 commit 0baa8a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ipq807x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 0baa8a1

Please sign in to comment.