Skip to content

Commit

Permalink
Increased checkout fetch depth; Added display of git describe
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Oct 9, 2024
1 parent 8ff8a3d commit fd16af9
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,25 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 50

# - name: Downgrade Git version to 2.46.1
# run: |
# sudo add-apt-repository -y ppa:git-core/ppa
# sudo apt-get update
# sudo apt-get install -y git=2.46.1
# - name: Verify Git version
# run: git --version

- name: Display git log
run: |
git log -1 --decorate
- name: Display git status
run: |
git status
- name: Display git describe
run: |
git describe --dirty --tags --long --match "*[0-9]*"
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit fd16af9

Please sign in to comment.