Skip to content

Commit

Permalink
fixup! Move release logic to a new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoerens committed Jul 24, 2023
1 parent 95c6b69 commit 5b4de7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Build, Test, Automerge and Tag

# This workflow runs on all PR that are targetting the main branch.
#
# It runs the test suite. If the PR is a release PR, it automerges and tags the main branch with
# the corresonding new version. Finally, it retags the container image with latest.

on:
pull_request_target:
types: [opened, synchronize, reopened]
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
name: create release on new tags

# This workflow is triggered by new version tags (e.g. "1.12.2") on the main branch.
#
# Tagging should be automatic after each merged PR release (see the build.yaml workflow). It can
# also be manually triggered if needed. Note that the tests are not run by this workflow, so
# release manually at your own risk. If manually tagging the main branch, the tag must match the
# version set in ./pkg/chartverifier/version/version_info.json.
#
# This workflow builds the tarball, creates the Github release and attaches the tarball to it.

on:
push:
# Publish semver tags as releases.
Expand Down

0 comments on commit 5b4de7f

Please sign in to comment.