Skip to content

Commit

Permalink
🌿 trigger gha on alpha nad beta releases
Browse files Browse the repository at this point in the history
  • Loading branch information
aureq committed Sep 17, 2023
1 parent 4c9d1bd commit 0f52555
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ if [ ! -z "$(echo $CURRENT_VERSION | sed '/-\(alpha\|beta\|rc\)/!d')" ]; then
GH_OPTS="--prerelease"
fi

# prepend a `v` in front of $CURRENT_VERSION to trigger GHA
# this is needed since
gh release create "v$CURRENT_VERSION" --notes-file "$RELEASE_CHANGELOG" $GH_OPTS
gh release create "$CURRENT_VERSION" --notes-file "$RELEASE_CHANGELOG" $GH_OPTS

sleep 2

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ name: cert-manager-webhook-ovh actions
on:
push:
tags:
- v*
- [0-9].[0-9]+.[0-9]+
- [0-9].[0-9]+.[0-9]+-alpha.*
- [0-9].[0-9]+.[0-9]+-beta.*

env:
REGISTRY: ghcr.io
Expand Down

0 comments on commit 0f52555

Please sign in to comment.