File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Build and publish a new version
2
2
3
3
on :
4
4
workflow_dispatch :
5
- branches : main
6
5
inputs :
7
6
tag :
8
7
description : ' Release Tag. This is in the form x.y.z'
@@ -68,13 +67,13 @@ jobs:
68
67
echo "$RELEASE_NOTES"
69
68
RELEASE_ARTIFACTS=$(find ./dist -name "*${{ github.event.inputs.tag }}*" -type f | paste -s -d ' ' - )
70
69
VERSION_TAG="v${{ github.event.inputs.tag }}"
71
- gh auth login --with-token <<< "${{ secrets.GH_TOKEN }}"
72
- gh release create "$VERSION_TAG" \
73
- --title "$VERSION_TAG" \
74
- --notes "$RELEASE_NOTES" \
75
- --target "$GITHUB_SHA" \
76
- $RELEASE_ARTIFACTS
77
- gh pr create --title "Release $VERSION_TAG" --body "$RELEASE_NOTES"
70
+ gh auth login --with-token <<< "${{ secrets.GH_TOKEN }}"
71
+ gh release create "$VERSION_TAG" \
72
+ --title "$VERSION_TAG" \
73
+ --notes "$RELEASE_NOTES" \
74
+ --target "$GITHUB_SHA" \
75
+ $RELEASE_ARTIFACTS
76
+ gh pr create --title "Release $VERSION_TAG" --body "$RELEASE_NOTES"
78
77
79
78
publish-to-test-pypi :
80
79
name : Publish to Test PyPI
You can’t perform that action at this time.
0 commit comments