-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53e264d
commit a7eb5d3
Showing
1 changed file
with
44 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "Versioning" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request_review: | ||
types: | ||
- submitted | ||
jobs: | ||
deploy: | ||
name: "Versioning" | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Versioning | ||
uses: paulhatch/[email protected] | ||
with: | ||
# The prefix to use to identify tags | ||
tag_prefix: "v" | ||
# A string which, if present in a git commit, indicates that a change represents a | ||
# major (breaking) change, supports regular expressions wrapped with '/' | ||
major_pattern: "(MAJOR)" | ||
# A string which indicates the flags used by the `major_pattern` regular expression. Supported flags: idgs | ||
major_regexp_flags: "" | ||
# Same as above except indicating a minor change, supports regular expressions wrapped with '/' | ||
minor_pattern: "(MINOR)" | ||
# A string which indicates the flags used by the `minor_pattern` regular expression. Supported flags: idgs | ||
minor_regexp_flags: "" | ||
# A string to determine the format of the version output | ||
version_format: "${major}.${minor}.${patch}" | ||
# If this is set to true, *every* commit will be treated as a new version. | ||
bump_each_commit: true | ||
# If true, the body of commits will also be searched for major/minor patterns to determine the version type. | ||
search_commit_body: false | ||
# The output method used to generate list of users, 'csv' or 'json'. | ||
user_format_type: "json" | ||
|