Skip to content

Commit

Permalink
Make sure to include the updated sources in the release
Browse files Browse the repository at this point in the history
  • Loading branch information
r-vdp committed Jul 9, 2024
1 parent 7f8741f commit bdecfc9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-hds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >-
gh release create ${{ steps.date.outputs.date }} --repo ${{ github.repository }} --title
"Version ${{ steps.date.outputs.date }}" "holo-dev-server-x86_64-linux.tar.gz"
gh release create --draft ${{ steps.date.outputs.date }} --repo ${{ github.repository }}
--title "Version ${{ steps.date.outputs.date }}" "holo-dev-server-x86_64-linux.tar.gz"
"holo-dev-server-aarch64-linux.tar.gz" "holo-dev-server-aarch64-darwin.tar.gz"
update-sources:
Expand Down Expand Up @@ -247,3 +247,11 @@ jobs:
git commit -m "update to release ${{ needs.upload-binary.outputs.release_name }}"
git push origin HEAD:refs/heads/main
fi
- name: update and undraft release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
git tag -a -f ${{ needs.upload-binary.outputs.release_name }}
git push tags --force
gh release edit --draft=false ${{ needs.upload-binary.outputs.release_name }}

0 comments on commit bdecfc9

Please sign in to comment.