Skip to content

Commit

Permalink
force fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-c4t committed Sep 20, 2023
1 parent 895bee8 commit c1593b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
echo "docker_image=$DOCKER_IMAGE_NAME:stage" >> $GITHUB_OUTPUT
echo "build_env=stage" >> $GITHUB_OUTPUT
echo "branch=suite-c4t" >> $GITHUB_OUTPUT
git describe --abbrev=0 --tags
git describe --tags
echo "----"
git tag -l
echo "----"
git fetch --force --tags
echo "----"
git describe --abbrev=0 --tags
elif [[ "${{ github.ref }}" == "refs/heads/c4t" ]] || [[ "${{ github.base_ref }}" == "c4t" ]]; then
echo "docker_image=$DOCKER_IMAGE_NAME:stage" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit c1593b8

Please sign in to comment.