diff --git a/.env b/.env index 65bf4cc..dfdf936 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -TEST=123 \ No newline at end of file +TEST=123 diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 796827c..6fb34a8 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -28,6 +28,11 @@ jobs: 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 + - env: + ZIP_FILE_NAME: "module.zip" + 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 - env: ZIP_FILE_NAME: "module.zip" diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..738988e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,13 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "new release", + "type": "shell", + "command": "TAG=$(date +\"%Y%m%d.%H%M%S\"); git add . && git commit -m \"$TAG\" && git tag \"v$TAG\" && git push origin main --tags && tea release create --title \"$TAG\" --tag=\"$TAG\"", + "problemMatcher":[] + } + ] +} \ No newline at end of file