Commit c0e7ad4 1 parent 0e773ec commit c0e7ad4 Copy full SHA for c0e7ad4
File tree 1 file changed +11
-16
lines changed
1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change 70
70
echo "pull_request_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
71
71
echo "::notice::PR_NUMBER is ${PR_NUMBER}"
72
72
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
73
- # env:
74
- # GITHUB_TOKEN: ${{ secrets.PAT }}
75
73
76
74
- name : Bump version
77
75
id : bump-version
82
80
bump-my-version bump --allow-dirty --verbose "$RELEASE_KIND"
83
81
echo "TAG_NAME=$(bump-my-version show current_version)" >> $GITHUB_ENV
84
82
export "TAG_NAME=$(bump-my-version show current_version)"
85
- # git push
86
- # git push --tags
83
+ git push
84
+ git push --tags
87
85
echo "PACKAGE=true" >> $GITHUB_ENV
88
86
export PACKAGE=true
89
87
;;
@@ -126,15 +124,12 @@ jobs:
126
124
with :
127
125
name : release-notes
128
126
129
- - name : show env
130
- run : |
131
- echo ${{ needs.version.outputs.tag-name }}
132
- # - name: Create a GitHub release
133
- # uses: softprops/action-gh-release@v1
134
- # with:
135
- # files: dist/*
136
- # tag_name: "${{ needs.version.outputs.tag-name }}"
137
- # body_path: release-notes.md
138
- #
139
- # - name: Upload package to PyPI
140
- # uses: pypa/gh-action-pypi-publish@release/v1
127
+ - name : Create a GitHub release
128
+ uses : softprops/action-gh-release@v1
129
+ with :
130
+ files : dist/*
131
+ tag_name : " ${{ needs.version.outputs.tag-name }}"
132
+ body_path : release-notes.md
133
+
134
+ - name : Upload package to PyPI
135
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments