Skip to content

Commit

Permalink
fix(gh-action): do not fetch all tags if this is a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Dec 6, 2020
1 parent ccbd6b3 commit c14571a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
with:
ssh-key: "${{ secrets.NIPREPS_DEPLOY }}"
- name: Fetch all tags (for versioneer to work)
if: "!startsWith(github.ref, 'refs/tags/')"
run: |
/usr/bin/git -c protocol.version=2 fetch --tags --prune --unshallow origin
- name: Build in confined, updated environment and interpolate version
Expand Down

0 comments on commit c14571a

Please sign in to comment.