mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 21:24:35 -04:00
Clean up for releases
This commit is contained in:
parent
5c1614d3f8
commit
b500073a9b
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -49,19 +49,11 @@ jobs:
|
|||||||
sudo rm -rf bootstrap/cache/*
|
sudo rm -rf bootstrap/cache/*
|
||||||
sudo rm -rf node_modules
|
sudo rm -rf node_modules
|
||||||
sudo rm -rf .git
|
sudo rm -rf .git
|
||||||
# - name: Prune Git History
|
|
||||||
# run: |
|
- name: Build project
|
||||||
# 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
|
|
||||||
run: |
|
run: |
|
||||||
zip -r ./invoiceninja.zip .* -x "../*"
|
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
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user