Skip to content

Commit

Permalink
Improve md5sum filename regex
Browse files Browse the repository at this point in the history
* Now it leaves just the filename
  • Loading branch information
luk1337 committed Nov 10, 2020
1 parent 162048e commit dc84834
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
if: steps.check.outputs.need_update == 1
run: |
tar vf ${{ steps.files.outputs.ap }} --delete boot.img.lz4 recovery.img.lz4 system.img.ext4.lz4 dtbo.img.lz4 vendor.img.ext4.lz4 persist.img.ext4.lz4 userdata.img.ext4.lz4 vbmeta.img.lz4 meta-data
md5sum ${{ steps.files.outputs.ap }} | sed "s/\.md5$//" >> ${{ steps.files.outputs.ap }}
md5sum ${{ steps.files.outputs.ap }} | sed "s/ .*\// /;s/\.md5$//" >> ${{ steps.files.outputs.ap }}
tar vf ${{ steps.files.outputs.bl }} --delete vbmeta.img.lz4
md5sum ${{ steps.files.outputs.bl }} | sed "s/\.md5$//" >> ${{ steps.files.outputs.bl }}
md5sum ${{ steps.files.outputs.bl }} | sed "s/ .*\// /;s/\.md5$//" >> ${{ steps.files.outputs.bl }}
- name: Update current version
if: steps.check.outputs.need_update == 1
Expand Down
1 change: 0 additions & 1 deletion current.SM-T720

This file was deleted.

1 change: 0 additions & 1 deletion current.SM-T725

This file was deleted.

0 comments on commit dc84834

Please sign in to comment.