Compare commits
4 Commits
v20250207.
...
20250207.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
1142817d41
|
|||
|
89f0b930f5
|
|||
|
4e9bc012f9
|
|||
|
187839be20
|
@@ -28,16 +28,16 @@ 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: git reflog
|
||||||
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} HEAD:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
||||||
|
|
||||||
- run: echo $(ls -lah)
|
- run: echo $(ls -lah)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user