diff --git a/.github/workflows/release-on-commit-module.yml b/.github/workflows/release-on-commit-module.yml index 908714a..9aac96a 100644 --- a/.github/workflows/release-on-commit-module.yml +++ b/.github/workflows/release-on-commit-module.yml @@ -23,6 +23,11 @@ jobs: - name: Compress Project run: zip -r project.zip . + - name: Get commit message + id: get_commit_msg + run: | + echo "::set-output name=commit_msg::$(git log -1 --pretty=format:"%s")" + - name: Get release name from module.json id: get_release_name run: | @@ -37,6 +42,7 @@ jobs: with: tag_name: ${{ steps.get_release_name.outputs.release_name }} release_name: ${{ steps.get_release_name.outputs.release_name }} + body: ${{ steps.get_commit_msg.outputs.commit_msg }} draft: false prerelease: false @@ -47,6 +53,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./project.zip - asset_name: project.zip + asset_path: ./main.zip + asset_name: main.zip asset_content_type: application/zip diff --git a/module.json b/module.json index 4a11b44..5a0c41c 100644 --- a/module.json +++ b/module.json @@ -27,6 +27,6 @@ }, "url": "https://github.com/mcules/FoundryVTT-digitable-initiative-led", "manifest": "https://github.com/mcules/FoundryVTT-digitable-initiative-led/raw/main/module.json", - "version": "1.0.2", - "download": "https://github.com/mcules/workflow-test/archive/refs/tags/v1.0.2.zip" + "version": "1.0.3", + "download": "https://github.com/mcules/FoundryVTT-digitable-initiative-led/releases/download/v1.0.3/main.zip" }