Skip to content

Commit

Permalink
fix: updated publish.yml to use the github.ref_name
Browse files Browse the repository at this point in the history
This will ensure that assets from various architecture builds are
successfully uploaded to the release.

Added a `make_latest` attribute to prevent uploaded builds from being
marked as the latest. Since we have multiple tagged builds, we'll
manually designate the latest build.

Signed-off-by: yash-zededa <[email protected]>
(cherry picked from commit da76c1e)
  • Loading branch information
yash-zededa authored and eriknordmark committed Sep 4, 2024
1 parent c87b8cb commit e76e93e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ inputs.tag_ref }}
make_latest: false
files: |
assets/${{ env.ARCH }}.rootfs.img
assets/${{ env.ARCH }}.kernel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ jobs:
needs: [manifest, verification, eve]
uses: lf-edge/eve/.github/workflows/assets.yml@master
with:
tag_ref: ${{ github.ref }}
tag_ref: ${{ github.ref_name }}

0 comments on commit e76e93e

Please sign in to comment.