Skip to content

Commit

Permalink
Add a workflow step to fetch tags. (#339)
Browse files Browse the repository at this point in the history
* Add a workflow step to fetch tags.

* List fetched tags

* Fix tag format
  • Loading branch information
Idhrendur authored Apr 21, 2023
1 parent 851aab1 commit c647341
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/windows_build_test_and_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit c647341

Please sign in to comment.