File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ changelog :
2+ categories :
3+ - title : Feature
4+ labels :
5+ - enhancement
6+ - title : Fix
7+ labels :
8+ - bug
9+ - title : Other Changes
10+ labels :
11+ - " *"
Original file line number Diff line number Diff line change 1111jobs :
1212 release :
1313 runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
1416 steps :
1517 - uses : actions/checkout@v3
1618 with :
1719 ref : main
1820 fetch-depth : 0
19- token : ${{ secrets.PROJECT_TOKEN }}
21+ token : ${{ secrets.PROJECT_TOKEN }}
2022 - name : Modify for next release
2123 run : |
2224 chmod +x release.sh
2628 git config user.email '${{ vars.USER_EMAIL }}'
2729 git add .
2830 git commit -m 'release: clickstream Android ${{ env.NEW_VERSION }}'
29- git push
31+ git push
32+ git tag v${{ env.NEW_VERSION }}
33+ git push origin v${{ env.NEW_VERSION }}
34+ - name : Assemble release
35+ run : |
36+ chmod +x gradlew
37+ ./gradlew assembleRelease
38+ - name : Create GitHub release
39+ uses : softprops/action-gh-release@v1
40+ with :
41+ name : " Clickstream Android ${{ env.NEW_VERSION }}"
42+ files : |
43+ clickstream/build/outputs/aar/clickstream-release.aar
44+ tag_name : " v${{ env.NEW_VERSION }}"
45+ prerelease : true
46+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments