-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a workflow step to fetch tags. (#339)
* Add a workflow step to fetch tags. * List fetched tags * Fix tag format
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -31,12 +31,17 @@ jobs: | |
git -c submodule."external/commonItems".update=none ` | ||
submodule update --init --recursive external\Fronter | ||
- name: "Fetching tags" | ||
run: | | ||
git fetch --tags | ||
git tag | ||
- name: "Generate semantic version number" | ||
uses: paulhatch/[email protected] | ||
id: version_number | ||
with: | ||
# The prefix to use to identify tags | ||
tag_prefix: "v" | ||
tag_prefix: "" | ||
# 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)" | ||
|