Skip to content

Commit

Permalink
release any file ext
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Sep 16, 2024
1 parent 7d629bc commit e76b67c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ jobs:
cd $dir
for file in *; do
mv $file ../${file%.zip}.${{ needs.version.outputs.version }}.zip
ext="${file##*.}"
name="${file%.*}"
mv "$file" "../${name}.${{ needs.version.outputs.version }}.$ext"
done
cd ..
Expand Down

0 comments on commit e76b67c

Please sign in to comment.