File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1515 - uses : actions/checkout@v4
1616 with :
1717 persist-credentials : false
18-
18+ fetch-depth : 0 # Fetch the full history
19+ ref : ${{ github.ref }} # Check out the current branch or tag
20+
21+ - name : Fetch tags only
22+ run : git fetch --tags --no-recurse-submodules
23+
1924 - name : Set up Python
2025 uses : actions/setup-python@v4
2126 with :
Original file line number Diff line number Diff line change 6363# Whitelist pattern for remotes (set to None to use local branches only)
6464smv_remote_whitelist = None
6565# Pattern for released versions
66- smv_released_pattern = r"^tags/.*$"
66+ smv_released_pattern = "" # r"^tags/.*$"
6767# Format for versioned output directories inside the build directory
6868smv_outputdir_format = "{ref.name}"
6969# Determines whether remote or local git branches/tags are preferred if their
You can’t perform that action at this time.
0 commit comments