Skip to content

Commit

Permalink
fix: disable depth 1 for submodule tags 3
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Jan 29, 2021
1 parent ec09b4a commit 79f42f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
fetch-depth: 0
-
name: extract tag
id: vars
id: version
run: |
git fetch --prune
echo ::set-output name=snapraid_version::"$(cd snapraid/ && git describe --abbrev=0)"
-
name: docker build
run: docker build . --file Dockerfile --tag image:${{ steps.vars.outputs.snapraid_version }}
run: docker build . --file Dockerfile --tag image:${{ steps.version.outputs.snapraid_version }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
-
name: extract tag
id: vars
id: version
run: |
git fetch --prune
echo ::set-output name=version::"$(cd snapraid/ && git describe --abbrev=0)"
Expand Down

0 comments on commit 79f42f7

Please sign in to comment.