Skip to content

Commit

Permalink
fix checksum dir
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
  • Loading branch information
galal-hussein committed Jul 1, 2024
1 parent f55d1bc commit e0f45bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: Checksum
run: |
GITHUB_ACTION_TAG=${{ github.ref_name }} ./scripts/checksum
GITHUB_ACTION_TAG=${{ github.ref_name }} /tmp/dapper -f Dockerfile --target dapper make ./scripts/checksum
- name: Publish Artifacts
uses: softprops/action-gh-release@v2
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:

- name: Checksum
run: |
GITHUB_ACTION_TAG=${{ github.ref_name }} ./scripts/checksum
GITHUB_ACTION_TAG=${{ github.ref_name }} /tmp/dapper -f Dockerfile --target dapper make ./scripts/checksum
- name: Publish Artifacts
uses: softprops/action-gh-release@v2
Expand Down
3 changes: 2 additions & 1 deletion scripts/checksum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ cd $(dirname $0)/..

source ./scripts/version.sh

CHECKSUM_DIR=${CHECKSUM_DIR:-./dist/artifacts}
CHECKSUM_DIR=${CHECKSUM_DIR:-dist/artifacts}

mkdir -p ${CHECKSUM_DIR}
sumfile="${CHECKSUM_DIR}/sha256sum-${ARCH}.txt"
echo -n "" > "${sumfile}"

Expand Down

0 comments on commit e0f45bf

Please sign in to comment.