@@ -53,51 +53,69 @@ jobs:
53
53
echo "pluginVersionFull=$PLUGIN_VERSION_FULL" >> $GITHUB_OUTPUT
54
54
echo "pluginVersionSemVer=$PLUGIN_VERSION_SEMVER" >> $GITHUB_OUTPUT
55
55
56
- - name : Publish Plugin
57
- env :
58
- INTELLIJ_SIGNING_PUBLISH_TOKEN : ${{ secrets.INTELLIJ_SIGNING_PUBLISH_TOKEN }}
59
- INTELLIJ_SIGNING_CERTIFICATE_CHAIN : ${{ secrets.INTELLIJ_SIGNING_CERTIFICATE_CHAIN }}
60
- INTELLIJ_SIGNING_PRIVATE_KEY : ${{ secrets.INTELLIJ_SIGNING_PRIVATE_KEY }}
61
- INTELLIJ_SIGNING_PRIVATE_KEY_PASSWORD : ${{ secrets.INTELLIJ_SIGNING_PRIVATE_KEY_PASSWORD }}
62
- run : ./gradlew publishPlugin
56
+ # - name: Publish Plugin
57
+ # env:
58
+ # INTELLIJ_SIGNING_PUBLISH_TOKEN: ${{ secrets.INTELLIJ_SIGNING_PUBLISH_TOKEN }}
59
+ # INTELLIJ_SIGNING_CERTIFICATE_CHAIN: ${{ secrets.INTELLIJ_SIGNING_CERTIFICATE_CHAIN }}
60
+ # INTELLIJ_SIGNING_PRIVATE_KEY: ${{ secrets.INTELLIJ_SIGNING_PRIVATE_KEY }}
61
+ # INTELLIJ_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.INTELLIJ_SIGNING_PRIVATE_KEY_PASSWORD }}
62
+ # run: ./gradlew publishPlugin
63
63
64
64
- name : Create new tag and release
65
65
env :
66
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
67
run : gh release create ${{ steps.properties.outputs.pluginVersionFull }} -F CHANGELOG.md
68
68
69
- - name : Create Pull Request
69
+ - name : Upload Release Built Artifact
70
+ continue-on-error : true
70
71
env :
71
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72
- run : |
73
- VERSION="${{ github.event.release.tag_name }}"
74
- BRANCH="release-changelog-update-$VERSION"
75
- LABEL="CHANGELOG.md updates on release"
76
-
77
- git config user.email "[email protected] "
78
- git config user.name "GitHub Action"
79
-
80
- git checkout -b $BRANCH
81
- git commit -am ":rocket: ${VERSION}" -m "[skip ci]"
82
- git push --set-upstream origin $BRANCH
83
-
84
- gh label create "$LABEL" \
85
- --color B39DDB \
86
- --description "Pull requests with release changelog update" \
87
- || true
88
-
89
- gh pr create \
90
- --title ":rocket: \`$VERSION\`" \
91
- --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
92
- --base "${{ github.event.release.target_commitish }}" \
93
- --label "$LABEL" \
94
- --head $BRANCH
95
-
96
- - name : Close Milestone
73
+ run : gh release upload ${{ steps.properties.outputs.pluginVersionFull }} ./build/distributions/*
74
+
75
+ - name : Upload Release Verification Results
97
76
continue-on-error : true
98
77
env :
99
78
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100
- run : |
101
- gh api repos/{owner}/{repo}/milestones \
102
- --jq '.[] | select(.title == "${{ steps.properties.outputs.pluginVersionSemVer }}") | .number' \
103
- | xargs -I '{}' gh api -X PATCH repos/{owner}/{repo}/milestones/{} -F state='closed'
79
+ run : gh release upload ${{ steps.properties.outputs.pluginVersionFull }} ./build/reports/pluginVerifier/*
80
+
81
+ - name : Upload Release Tests Results
82
+ continue-on-error : true
83
+ env :
84
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
+ run : gh release upload ${{ steps.properties.outputs.pluginVersionFull }} ./build/reports/kover/html/*
86
+
87
+ # - name: Create Pull Request
88
+ # env:
89
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
+ # run: |
91
+ # VERSION="${{ steps.properties.outputs.pluginVersionFull }}"
92
+ # BRANCH="release-changelog-update-$VERSION"
93
+ # LABEL="release-closer"
94
+
95
+ # git config user.email "[email protected] "
96
+ # git config user.name "GitHub Action"
97
+
98
+ # git checkout -b $BRANCH
99
+ # git commit -am ":moai: ${VERSION}" -m "[skip ci]"
100
+ # git push --set-upstream origin $BRANCH
101
+
102
+ # gh label create "$LABEL" \
103
+ # --color FFEF00 \
104
+ # --description "Pull requests with release changelog update" \
105
+ # || true
106
+
107
+ # gh pr create \
108
+ # --title ":moai: \`$VERSION\`" \
109
+ # --body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
110
+ # --base "${{ github.event.release.target_commitish }}" \
111
+ # --label "$LABEL" \
112
+ # --head $BRANCH
113
+
114
+ # - name: Close Milestone
115
+ # continue-on-error: true
116
+ # env:
117
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118
+ # run: |
119
+ # gh api repos/{owner}/{repo}/milestones \
120
+ # --jq '.[] | select(.title == "${{ steps.properties.outputs.pluginVersionSemVer }}") | .number' \
121
+ # | xargs -I '{}' gh api -X PATCH repos/{owner}/{repo}/milestones/{} -F state='closed'
0 commit comments