fix: shasum file in release ci (#109)
This commit is contained in:
parent
7b60eae6d4
commit
93a0cefcfd
|
|
@ -82,7 +82,7 @@ jobs:
|
|||
- name: Post sha256
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sha256sums
|
||||
name: sha256sums-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}
|
||||
path: ./_bin/sha256-${{ steps.get_matrix.outputs.OS }}-${{ steps.get_matrix.outputs.ARCH }}.txt
|
||||
retention-days: 1
|
||||
upload-sha256sums-plugin:
|
||||
|
|
@ -98,12 +98,14 @@ jobs:
|
|||
- name: Download sha256sums
|
||||
uses: actions/download-artifact@v4.1.7
|
||||
with:
|
||||
name: sha256sums
|
||||
name: 'sha256sums-*'
|
||||
path: sha256sums
|
||||
- shell: bash
|
||||
run: |
|
||||
for file in *.txt
|
||||
cd sha256sums
|
||||
for file in */*.txt
|
||||
do
|
||||
cat ${file} >> sha256sums.txt
|
||||
cat ${file} >> ../sha256sums.txt
|
||||
done
|
||||
- name: Upload Checksums
|
||||
uses: actions/upload-release-asset@v1.0.2
|
||||
|
|
@ -113,4 +115,4 @@ jobs:
|
|||
asset_name: sha256sums-${{ steps.get_release.outputs.tag_name }}.txt
|
||||
asset_content_type: text/plain
|
||||
- name: Update kubectl plugin version in krew-index
|
||||
uses: rajatjindal/krew-release-bot@v0.0.43
|
||||
uses: rajatjindal/krew-release-bot@v0.0.43
|
||||
Loading…
Reference in New Issue