Skip to content

Commit

Permalink
ci: adds updating release artifacts, when on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtcoder17 committed Oct 6, 2024
1 parent 3635d8b commit cd7f783
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |+
gh release upload $IMAGE_TAG -R ${{github.repository}} ${{github.workspace}}/upload/binaries/*
extra_args=""
if [ "$IMAGE_TAG" = "nightly" ]; then
extra_args="--clobber"
fi
gh release upload $IMAGE_TAG -R ${{github.repository}} $extra_args ${{github.workspace}}/upload/binaries/*
- name: mark release as latest
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit cd7f783

Please sign in to comment.