Commit 0e773ec 1 parent 76c31c4 commit 0e773ec Copy full SHA for 0e773ec
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 28
28
outputs :
29
29
release-kind : ${{ steps.release-kind.outputs.release-kind }}
30
30
package : ${{ steps.bump-version.outputs.package }}
31
+ tag-name : ${{ steps.bump-version.outputs.tag-name }}
31
32
steps :
32
33
- uses : actions/checkout@v4
33
34
name : Checkout the repository
80
81
major|minor|patch)
81
82
bump-my-version bump --allow-dirty --verbose "$RELEASE_KIND"
82
83
echo "TAG_NAME=$(bump-my-version show current_version)" >> $GITHUB_ENV
84
+ export "TAG_NAME=$(bump-my-version show current_version)"
83
85
# git push
84
86
# git push --tags
85
87
echo "PACKAGE=true" >> $GITHUB_ENV
96
98
esac
97
99
98
100
echo "package=$PACKAGE" >> $GITHUB_OUTPUT
101
+ echo "tag-name=$TAG_NAME" >> $GITHUB_OUTPUT
99
102
100
103
- name : Package and upload artifacts
101
104
if : ${{ env.PACKAGE == 'true' }}
@@ -125,12 +128,12 @@ jobs:
125
128
126
129
- name : show env
127
130
run : |
128
- echo ${{ env.TAG_NAME }}
131
+ echo ${{ needs.version.outputs.tag-name }}
129
132
# - name: Create a GitHub release
130
133
# uses: softprops/action-gh-release@v1
131
134
# with:
132
135
# files: dist/*
133
- # tag_name: "${{ env.TAG_NAME }}"
136
+ # tag_name: "${{ needs.version.outputs.tag-name }}"
134
137
# body_path: release-notes.md
135
138
#
136
139
# - name: Upload package to PyPI
You can’t perform that action at this time.
0 commit comments