Skip to content

Commit aded248

Browse files
authored
Merge pull request #1483 from josaphatim/fix-release-update
fix(backend): fix release asset files to include dot files
2 parents e4a96ba + d356c41 commit aded248

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,17 @@ jobs:
2626
- name: Install Composer dependencies
2727
run: composer install --no-dev --optimize-autoloader
2828

29+
- name: Generate configuration files
30+
run: php scripts/config_gen.php
31+
2932
- name: Create tarball
30-
run: tar -czvf cypht.tar.gz ./*
33+
run: tar czf ../cypht.tar.gz --exclude .git --exclude .gitignore --exclude .travis --exclude .travis.yml --exclude .github --exclude .coveralls.yml --exclude .env.example ./* ./.*
3134

3235
- name: Upload release asset
3336
uses: actions/upload-release-asset@v1
3437
with:
3538
upload_url: ${{ github.event.release.upload_url }}
36-
asset_path: ./cypht.tar.gz
39+
asset_path: ../cypht.tar.gz
3740
asset_name: cypht.tar.gz
3841
asset_content_type: application/gzip
3942
env:

0 commit comments

Comments
 (0)