Skip to content

Commit

Permalink
Merge pull request #409 from perftool-incubator/fetch-prune
Browse files Browse the repository at this point in the history
Sync remote tags/heads to local repo
  • Loading branch information
rafaelfolco authored Sep 30, 2024
2 parents 0743531 + b567a7b commit f1e20f7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/crucible-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,16 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
cd crucible
echo "Fetching remote heads/tags..."
git fetch --prune --prune-tags
echo "Tags:"
git ls-remote --tags origin
echo "Local Tags:"
git tag
echo "Branches:"
git ls-remote --heads origin
echo "Local Branches:"
git branch
if [ "${{ inputs.action }}" == "push" ]; then
ARGS=""
if [ "${{ inputs.force_push }}" == "true" ]; then
Expand Down Expand Up @@ -164,8 +172,16 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
cd ${{ matrix.repository }}
echo "Fetching remote heads/tags..."
git fetch --prune --prune-tags
echo "Tags:"
git ls-remote --tags origin
echo "Local Tags:"
git tag
echo "Branches:"
git ls-remote --heads origin
echo "Local Branches:"
git branch
if [ "${{ inputs.action }}" == "push" ]; then
ARGS=""
if [ "${{ inputs.force_push }}" == "true" ]; then
Expand Down

0 comments on commit f1e20f7

Please sign in to comment.