diff --git a/.github/workflows/cd.release.yml b/.github/workflows/cd.release.yml index 7f6f2d4c..36597f88 100644 --- a/.github/workflows/cd.release.yml +++ b/.github/workflows/cd.release.yml @@ -21,8 +21,6 @@ jobs: name: Create release id: release-please uses: googleapis/release-please-action@v4.1.3 - with: - manifest-file: .release-please-manifest.json - name: Dispatch Edge Build # Run this step only if the release-please completes successfully @@ -33,11 +31,10 @@ jobs: event-type: edge-build token: ${{ secrets.GITHUB_TOKEN }} - - name: Skaha Release Build Info + name: Skaha Release Info # Run this step only if the release-please completes successfully if: ${{ steps.release-please.outputs.release_created == 'true' }} run: | - echo "Release Build currently Disabled" echo "Releases Created: ${{ steps.release-please.outputs.release_created }}" echo "tag: ${{ steps.release-please.outputs.tag_name }}" echo "sha: ${{ steps.release-please.outputs.sha }}" @@ -47,6 +44,7 @@ jobs: - name: Dispatch Skaha Release Build uses: peter-evans/repository-dispatch@v3.0.0 + if: ${{ steps.release-please.outputs.release_created == 'true' }} with: repository: opencadc/science-platform event-type: release-build diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8108e88d..bed1c87d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,22 +1,3 @@ { - ".": "0.24.1", - "packages": { - ".": { - "package-name": "skaha", - "changelog-path": "CHANGELOG.md", - "release-type": "simple", - "exclude-paths": [ - "docs", - "deployment", - "image-cache", - "integration-test" - ], - "extra-files": [ - { - "type": "generic", - "path": "skaha/gradle.properties" - } - ] - } - } + ".": "0.24.1" } \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..c80864ff --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,25 @@ +{ + "packages": { + ".": { + "package-name": "skaha", + "changelog-path": "CHANGELOG.md", + "release-type": "simple", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "include-component-in-tag": false, + "include-v-in-tag": true, + "extra-files": [ + "skaha/gradle.properties" + ], + "exclude-paths": [ + "docs", + "deployment", + "image-cache", + "integration-test" + ] + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} \ No newline at end of file