Fix Auto Updating (#8)
Release workflow no longer includes the parent folder in the zip.
This commit is contained in:
parent
ad8dac5fb0
commit
865f2261fe
15
.github/workflows/dotnet-release.yml
vendored
15
.github/workflows/dotnet-release.yml
vendored
@ -31,17 +31,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: Rename artifacts
|
|
||||||
id: rename
|
|
||||||
working-directory: ./artifacts
|
|
||||||
run: |
|
|
||||||
for FILENAME in *; do mv ${FILENAME} Libation.${{ steps.version.outputs.version }}-${FILENAME,,}; done
|
|
||||||
mv Libation.${{ steps.version.outputs.version }}-windows-classic Classic-Libation.${{ steps.version.outputs.version }}-windows-classic
|
|
||||||
|
|
||||||
- name: Zip assets
|
- name: Zip assets
|
||||||
working-directory: ./artifacts
|
working-directory: ./artifacts
|
||||||
run: |
|
run: |
|
||||||
for FILENAME in *; do zip -r ${FILENAME}.zip ${FILENAME}; done
|
for FILENAME in *
|
||||||
|
do
|
||||||
|
pushd "${FILENAME}"
|
||||||
|
zip -r "../Libation.${{ steps.version.outputs.version }}-${FILENAME,,}.zip" .
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
mv Libation.${{ steps.version.outputs.version }}-windows-classic.zip Classic-Libation.${{ steps.version.outputs.version }}-windows-classic.zip
|
||||||
mkdir ./assets
|
mkdir ./assets
|
||||||
mv *.zip ./assets
|
mv *.zip ./assets
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user