Skip to content

Commit

Permalink
fix: always create releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 14, 2024
1 parent 5b0531f commit 6bc9a2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,18 @@ name: Release

jobs:
release-please:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
runs-on: ubuntu-latest
outputs:
pkg-version: ${{ steps.get-version.outputs.pkg-version }}
version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
release_created : ${{ steps.release.outputs.release_created }}
steps:
- uses: actions/checkout@v4
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- uses: googleapis/release-please-action@v4
id: release
with:
skip-github-pull-request: true

- run: |
echo "${{ toJSON(steps.release.outputs) }}"
Expand Down Expand Up @@ -58,7 +53,12 @@ jobs:
linux/amd64
linux/arm64
# Helm Chart
- name: Configure Git
if: ${{ steps.release.outputs.release_created }}
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4
if: ${{ steps.release.outputs.release_created }}
Expand Down
5 changes: 5 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
"type": "yaml",
"path": "charts/radix-prometheus-proxy/Chart.yaml",
"jsonpath": "$.version"
},
{
"type": "yaml",
"path": "charts/radix-prometheus-proxy/Chart.yaml",
"jsonpath": "$.appVersion"
}
]
}
Expand Down

0 comments on commit 6bc9a2b

Please sign in to comment.