File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 release :
13+ name : Create Release
1314 runs-on : ubuntu-latest
1415 env :
1516 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2728 - name : Build Plugin
2829 run : |
2930 ./gradlew buildPlugin --no-daemon
30- PKG="$(basename ${{ github.repository }})-${{ github.ref_name }}.zip"
31- ls -l ./build/distributions
32- mv ./build/distributions/${{ github.repository }}-snapshot.zip "$PKG"
33- gh release create ${{ github.ref_name }} "./build/distributions/$PKG" --generate-notes
31+ - name : Publish Release
32+ env :
33+ DIST_DIR : " ./build/distributions"
34+ run : |
35+ PROJECT_NAME="$(basename ${{ github.repository }})"
36+ PKG="$PROJECT_NAME-${{ github.ref_name }}.zip"
37+ ls -l "$DIST_DIR"
38+ mv "$DIST_DIR/$PROJECT_NAME-snapshot.zip" "$DIST_DIR/$PKG"
39+ gh release create ${{ github.ref_name }} "$DIST_DIR/$PKG" --generate-notes
You can’t perform that action at this time.
0 commit comments