mirror of https://github.com/k3s-io/k3s.git
Switch from draft to pre-release (#13951)
Signed-off-by: Rafael Breno <rafael_breno@outlook.com>main
parent
c6abac5140
commit
26c11f5c4d
|
|
@ -250,16 +250,11 @@ jobs:
|
|||
- name: Validate Assets for Release
|
||||
run: |
|
||||
./scripts/validate-artifacts
|
||||
|
||||
- name: Upload Assets to Release
|
||||
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
|
||||
with:
|
||||
draft: true
|
||||
files: |
|
||||
dist/artifacts/k3s*
|
||||
dist/artifacts/sha256sum*
|
||||
|
||||
- name: Create Pre-Release with Assets
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release create -R "${GITHUB_REPOSITORY}" --prerelease --generate-notes "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}"/dist/artifacts/k3s* "${GITHUB_WORKSPACE}"/dist/artifacts/sha256sum*
|
||||
|
||||
- name: Update Image Registry for Prime/Staging
|
||||
if: ${{ github.repository_owner == 'k3s-io' }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue