Skip to content

Commit ebc01ca

Browse files
committed
Clean up tarball file name scripting
1 parent 6659663 commit ebc01ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
135135
- name: Prepare MD5 Hash File
136136
run: |
137-
tarball="$(basename $(ls ./dist/*.tar.gz))"
137+
tarball="$(basename ./dist/*.tar.gz)"
138138
md5_file="${tarball}.md5"
139139
openssl md5 -binary "dist/${tarball}" | xxd -p | tr -d '\n' > "dist/${md5_file}"
140140
@@ -169,7 +169,7 @@ jobs:
169169

170170
- name: Upload Package to S3
171171
run: |
172-
tarball="$(basename $(ls ./dist/*.tar.gz))"
172+
tarball="$(basename ./dist/*.tar.gz)"
173173
md5_file="${tarball}.md5"
174174
aws s3 cp "dist/${md5_file}" "${S3_DST}/${md5_file}"
175175
aws s3 cp "dist/${tarball}" "${S3_DST}/${tarball}"

0 commit comments

Comments
 (0)