diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f5d7169..2218bc6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: