File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,13 @@ jobs:
3737 id : build
3838 shell : bash
3939 run : |
40- release_name="${{ env.PROJECT_NAME }}-${{ steps.version.outputs.version-without-v }}"
4140 sed -i "s/@package_version@/${{ steps.version.outputs.version-without-v }}/g" bin/m4b-tool.php
4241 composer install ${{ env.COMPOSER_FLAGS }} \
4342 && composer bin box require --dev humbug/box \
4443 && php -d phar.readonly=off vendor/bin/box compile \
4544 && chmod +x dist/*.phar \
46- && zip "${release_name}.zip" "./ dist/m4b-tool.phar" \
47- && tar czvf "${release_name}. tar.gz" " ./dist/m4b-tool.phar"
45+ && zip dist/${{ env.PROJECT_NAME }}-${{ steps.version.outputs.version-without-v }}.zip dist/m4b-tool.phar \
46+ && tar czvf dist/${{ env.PROJECT_NAME }}-${{ steps.version.outputs.version-without-v }}. tar.gz ./dist/m4b-tool.phar
4847
4948 # RELEASE to github
5049 - name : Release
5453 body_path : doc/release/release-notes-${{ steps.version.outputs.version }}.md
5554 draft : false
5655 files : |
57- ${release_name }.tar.gz
58- ${release_name }.zip
56+ dist/${{ env.PROJECT_NAME }}-${{ steps.version.outputs.version-without-v } }.tar.gz
57+ dist/${{ env.PROJECT_NAME }}-${{ steps.version.outputs.version-without-v } }.zip
5958 dist/m4b-tool.phar
6059
6160 # RELEASE to dockerhub
You can’t perform that action at this time.
0 commit comments