Compare commits
2 Commits
20250207.0
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
4e9bc012f9
|
|||
|
187839be20
|
@@ -28,14 +28,14 @@ jobs:
|
|||||||
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
|
manifest: https://gitea.ascorrea.com/${{github.repository}}/releases/latest/download/module.json
|
||||||
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
|
||||||
|
|
||||||
- env:
|
- run: echo zip filename "$ZIP_FILENAME" dist_branch "$DIST_BRANCH_NAME"
|
||||||
ZIP_FILE_NAME: "module.zip"
|
env:
|
||||||
|
ZIP_FILENAME: "module.zip"
|
||||||
DIST_BRANCH_NAME: "main"
|
DIST_BRANCH_NAME: "main"
|
||||||
run: echo zip filename "${ZIP_FILENAME}" dist_branch "${DIST_BRANCH_NAME}"
|
|
||||||
|
|
||||||
# Create a zip file with all files required by the module to add to the release
|
# Create a zip file with all files required by the module to add to the release
|
||||||
- env:
|
- env:
|
||||||
ZIP_FILE_NAME: "module.zip"
|
ZIP_FILENAME: "module.zip"
|
||||||
DIST_BRANCH_NAME: "main"
|
DIST_BRANCH_NAME: "main"
|
||||||
run: mkdir -p dist && git archive --format zip --output dist/${ZIP_FILENAME} ${DIST_BRANCH_NAME}:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
run: mkdir -p dist && git archive --format zip --output dist/${ZIP_FILENAME} ${DIST_BRANCH_NAME}:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user