Clean up for releases

This commit is contained in:
= 2021-06-18 23:15:20 +10:00
parent 5c1614d3f8
commit b500073a9b

View File

@ -49,19 +49,11 @@ jobs:
sudo rm -rf bootstrap/cache/*
sudo rm -rf node_modules
sudo rm -rf .git
# - name: Prune Git History
# run: |
# sudo git gc
# sudo git gc --aggressive
# sudo git prune
- name: Build project # This would actually build your project, using zip for an example artifact
- name: Build project
run: |
zip -r ./invoiceninja.zip .* -x "../*"
- name: Get tag name
id: get_tag_name
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')