Skip to content

Commit

Permalink
fix(release-please): changed manifest & config files
Browse files Browse the repository at this point in the history
also added options to remove the component name, i.e. skaha from tag names
  • Loading branch information
shinybrar committed Nov 21, 2024
1 parent 6c8dbee commit 01f82d5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
name: Create release
id: release-please
uses: googleapis/[email protected]
with:
manifest-file: .release-please-manifest.json
-
name: Dispatch Edge Build
# Run this step only if the release-please completes successfully
Expand All @@ -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 }}"
Expand All @@ -47,6 +44,7 @@ jobs:
-
name: Dispatch Skaha Release Build
uses: peter-evans/[email protected]
if: ${{ steps.release-please.outputs.release_created == 'true' }}
with:
repository: opencadc/science-platform
event-type: release-build
Expand Down
21 changes: 1 addition & 20 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
25 changes: 25 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 01f82d5

Please sign in to comment.