Skip to content

Commit

Permalink
change checksum filename
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Nov 4, 2024
1 parent 7339645 commit 808055f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:
find "artifacts" -mindepth 2 -maxdepth 2 -type f -exec mv {} "dist" \;
ls -lsa dist
- name: Checksum artifacts
run: ./scripts/generate-checksums.sh --directory dist --output checksums-dev-${{ github.sha }}.txt --show
run: ./scripts/generate-checksums.sh --directory dist --output sha256sum.txt --show
- name: Configure S3 Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -269,6 +269,6 @@ jobs:
- name: Upload Checksums to S3
shell: bash
run: |
aws s3 cp checksums-dev-${{ github.sha }}.txt s3://files.lando.dev/
aws s3 cp checksums-dev-${{ github.sha }}.txt s3://files.lando.dev/cli/
aws s3 cp checksums-dev-${{ github.sha }}.txt s3://files.lando.dev/core/
aws s3 cp sha256sum.txt s3://files.lando.dev/sha256sum-${{ github.ref_name }}.txt
aws s3 cp sha256sum.txt s3://files.lando.dev/cli/sha256sum-${{ github.ref_name }}.txt
aws s3 cp sha256sum.txt s3://files.lando.dev/core/sha256sum-${{ github.ref_name }}.txt
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
find "artifacts" -mindepth 2 -maxdepth 2 -type f -exec mv {} "dist" \;
ls -lsa dist
- name: Checksum artifacts
run: ./scripts/generate-checksums.sh --directory dist --output checksums-${{ github.ref_name }}.txt --show
run: ./scripts/generate-checksums.sh --directory dist --output sha256sum.txt --show
- name: Configure S3 credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -402,13 +402,13 @@ jobs:
- name: Upload checksums to S3
shell: bash
run: |
aws s3 cp checksums-${{ github.ref_name }}.txt s3://files.lando.dev/
aws s3 cp checksums-${{ github.ref_name }}.txt s3://files.lando.dev/cli/
aws s3 cp checksums-${{ github.ref_name }}.txt s3://files.lando.dev/core/
aws s3 cp sha256sum.txt s3://files.lando.dev/sha256sum-${{ github.ref_name }}.txt
aws s3 cp sha256sum.txt s3://files.lando.dev/cli/sha256sum-${{ github.ref_name }}.txt
aws s3 cp sha256sum.txt s3://files.lando.dev/core/sha256sum-${{ github.ref_name }}.txt
- name: Upload checksums to GitHub Releases
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: checksums-${{ github.ref_name }}.txt
files: sha256sum.txt
fail_on_unmatched_files: true

0 comments on commit 808055f

Please sign in to comment.