Skip to content

Commit

Permalink
also create a tag on the released commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRosenbaum committed Jun 24, 2024
1 parent 7fa0ce7 commit 466300e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ jobs:
echo "release_tag=$release_tag"
echo "release_version=$release_version" >> $GITHUB_OUTPUT
echo "release_tag=$release_tag" >> $GITHUB_OUTPUT
- name: Tag commit
uses: actions/github-script@v7.0.1
with:
script: |
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/tags/${{ env.release_tag }}',
sha: context.sha
})
- name: Build Source Distribution
run: |
python setup.py sdist
Expand Down

0 comments on commit 466300e

Please sign in to comment.