Skip to content

Commit

Permalink
Fetch tags fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Apr 9, 2024
1 parent 43c2cfa commit 615f3de
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/macos.yml
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

# Let self-hosted runners, which don't need_deps, leverage their own ccache.
Expand Down Expand Up @@ -166,6 +167,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

# Let self-hosted runners, which don't need_deps, leverage their own ccache.
Expand Down Expand Up @@ -234,8 +236,6 @@ jobs:
- name: Inject version string
run: |
set -x
git fetch --prune --unshallow
git fetch --all --tags --force
export VERSION=$(git describe --abbrev=0)
echo "VERSION=$VERSION" >> $GITHUB_ENV
Expand Down Expand Up @@ -274,13 +274,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

- name: Inject version string
run: |
set -x
git fetch --prune --unshallow
git fetch --all --tags --force
export VERSION=$(git describe --abbrev=0)
echo "VERSION=$VERSION" >> $GITHUB_ENV
Expand Down Expand Up @@ -340,13 +339,12 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

- name: Generate changelog
run: |
set +x
git fetch --unshallow
git fetch --all --tags --force
VERSION=$(git describe --abbrev=0)
echo "VERSION=$VERSION" >> $GITHUB_ENV
NEWEST_TAG=$(git describe --abbrev=0)
Expand Down

0 comments on commit 615f3de

Please sign in to comment.