mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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 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/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user