File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,10 @@ jobs:
27
27
env :
28
28
VERSION : ${{ github.ref }}
29
29
- run : |
30
- assetsAAR=$(find . -name *release.aar | while read -r asset ; do echo "-a $asset" ; done)
31
- VERSION=$(echo $VERSION | cut -d'/' -f3)
32
- assetsJAR=$(find . -name *${VERSION}*.jar | while read -r asset ; do echo "-a $asset" ; done)
30
+ VERSION_J=$(echo $VERSION | cut -d'/' -f3)
31
+ assets=$(find . -name "*${VERSION_J}*.jar" -or -name " *release.aar" | while read -r asset ; do echo "-a $asset" ; done)
33
32
tag_name="${GITHUB_REF##*/}"
34
- hub release create ${assetsAAR} ${assetsJAR } -m "$tag_name" "$tag_name"
33
+ hub release create ${assets } -m "$tag_name" "$tag_name"
35
34
env:
36
35
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
36
VERSION: ${{ github.ref }}
42
41
properties : |
43
42
gradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
44
43
gradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
45
- arguments : publishPlugins -s --scan
44
+ arguments : publishPlugins -s --scan
You can’t perform that action at this time.
0 commit comments