Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(release): update release process #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .github/workflows/example_app_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
name: Make example app release PR

on:
pull_request_target:
types:
- labeled
branches:
- main
workflow_dispatch:

jobs:
pull-request-creation:
if: contains(github.event.pull_request.labels.*.name, format('autorelease{0} tagged', ':')) || github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch'
permissions:
pull-requests: write
contents: write
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish_pub_dev.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Publish to pub.dev

on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+" # tag pattern on pub.dev: '{{version}'
workflow_dispatch:

# Publish using custom workflow
jobs:
Expand Down
10 changes: 7 additions & 3 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ The releases will be done through [Release Please]. This project uses the [Githu

All configuration files for [Release Please] are found in the `./ci` directory.

### Pub Dev

The pub dev release is done by running the `publish_pub_dev` Github action.

### Example App

Merging a release please PR will open another PR with a commit syncing the example app to the
package version and increasing the build number by one.
The example app release process is initiated by running the `example_app_release_pr` Github action. This will
open a PR with a commit syncing the example app to the package version and increasing the build number by one.

Upon merging this PR, the example app will be released to the enterprise app stores.
Upon merging this PR, the example app will be released to the enterprise app store.

[Release Please]: https://github.com/googleapis/release-please
[Github Action version]: https://github.com/googleapis/release-please-action
Loading