Skip to content

Commit

Permalink
🧪 Sync tag drop + Git setup @ GHA on sdist build
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jan 26, 2024
1 parent 13286cf commit f07296f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,20 @@ jobs:
--skip-missing-interpreters false
--notest
- name: Drop Git tags from HEAD for non-tag-create events
if: >-
!fromJSON(needs.pre-setup.outputs.release-requested)
run: >-
git tag --points-at HEAD
|
xargs git tag --delete
shell: bash

- name: Setup git user as [bot]
if: >-
fromJSON(needs.pre-setup.outputs.release-requested)
|| fromJSON(needs.pre-setup.outputs.is-untagged-devel)
uses: fregante/setup-git-user@v2
- name: >-
Tag the release in the local Git repo
as ${{ needs.pre-setup.outputs.git-tag }}
Expand Down

0 comments on commit f07296f

Please sign in to comment.