-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use reusable workflow for release builder
- Loading branch information
Showing
2 changed files
with
6 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
name: Create release from tag | ||
on: | ||
# Any pull request merged into master (hotfixes, releases) | ||
# should publish the corresponding github release + git tag | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
workflow_dispatch: # build a new release manually (create release branch pointing to master branch) | ||
inputs: | ||
version_name: | ||
# Edit release_builder.json#base_branches to support other branches | ||
description: 'Release version name, sample: 1.0.0 (Only "develop" branch is supported)' | ||
required: true | ||
|
||
name: Create Release | ||
tags: # Create a release once a git tag is published | ||
- '*' | ||
|
||
jobs: | ||
release-builder: | ||
uses: owen2345/reusable-ci-cd-actions/.github/workflows/release_builder.yml@main | ||
uses: owen2345/reusable-ci-cd-actions/.github/workflows/release_builder_from_tag.yml@main | ||
with: | ||
commit_mode: true | ||
create_release_pr: ${{ github.event.inputs && github.event.inputs.version_name || '' }} | ||
commit_mode: true # If true, then fetches all commit titles from all changes. If false, then fetches only the PR titles from all changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
pub_sub_model_sync (1.6.4) | ||
pub_sub_model_sync (1.7.0) | ||
rails | ||
|
||
GEM | ||
|