mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-22 00:21:08 -05:00
Added sha of original commit to tag commit message
This commit is contained in:
parent
bf26813dfe
commit
aabe83c06d
1 changed files with 4 additions and 2 deletions
6
.github/workflows/publish-major-minor.yml
vendored
6
.github/workflows/publish-major-minor.yml
vendored
|
@ -46,9 +46,11 @@ jobs:
|
|||
minor_version: ${{ steps.get_versions.outputs.minor_version }}
|
||||
run: |
|
||||
git tag --annotate '${{ env.major_version }}' \
|
||||
--message='Major version tag of: ${{ env.original_tag_name }}'
|
||||
--message='Major version tag of: ${{ env.original_tag_name }}' \
|
||||
--message="Original tag SHA1: $(git rev-parse ${{ env.original_tag_name }})"
|
||||
git tag --annotate '${{ env.minor_version }}' \
|
||||
--message='Minor version tag of: ${{ env.original_tag_name }}'
|
||||
--message='Minor version tag of: ${{ env.original_tag_name }}' \
|
||||
--message="Original tag SHA1: $(git rev-parse ${{ env.original_tag_name }})"
|
||||
- name: Push major + minor tags
|
||||
if: steps.get_versions.outputs.original_tag_name != ''
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue