File tree Expand file tree Collapse file tree 3 files changed +72
-6
lines changed Expand file tree Collapse file tree 3 files changed +72
-6
lines changed Original file line number Diff line number Diff line change 1+ name-template : ' v$RESOLVED_VERSION 🌈'
2+ tag-template : ' $RESOLVED_VERSION'
3+ categories :
4+ - title : ' 🚀 Features'
5+ labels :
6+ - ' feature'
7+ - ' enhancement'
8+ - title : ' 🐛 Bug Fixes'
9+ labels :
10+ - ' fix'
11+ - ' bugfix'
12+ - ' bug'
13+ - title : ' 🧰 Maintenance'
14+ label : ' chore'
15+ change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
16+ change-title-escapes : ' \<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
17+ version-resolver :
18+ major :
19+ labels :
20+ - ' major'
21+ minor :
22+ labels :
23+ - ' minor'
24+ patch :
25+ labels :
26+ - ' patch'
27+ default : patch
28+ template : |
29+ ## Changes
30+
31+ $CHANGES
Original file line number Diff line number Diff line change 1+ name : Releases
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+
7+ # pull_request event is required only for autolabeler
8+ pull_request :
9+ types : [opened, reopened, synchronize]
10+
11+ jobs :
12+ versions :
13+ name : Update Releases / Versions
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v2
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }}
19+
20+ - name : Draft Release
21+ id : release
22+ # Drafts your next Release notes as Pull Requests are merged into "main"
23+ uses : release-drafter/release-drafter@v5
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+
27+ - name : Update project versions
28+ id : version
29+ run : |
30+ echo "Next Version: ${{ steps.release.outputs.tag_name }}"
31+ yarn version --new-version ${{ steps.release.outputs.tag_name }}
32+
33+ - name : Commit Changes
34+ uses : stefanzweifel/git-auto-commit-action@v4
35+ with :
36+ commit_message : Bump project version to ${{ steps.release.outputs.tag_name }}
37+ file_pattern : " package.json"
Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ android {
66 applicationId " io.ionic.starter"
77 minSdkVersion rootProject. ext. minSdkVersion
88 targetSdkVersion rootProject. ext. targetSdkVersion
9- versionCode 1
10- versionName " 1.0"
119 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1210 aaptOptions {
1311 // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
@@ -31,11 +29,11 @@ repositories {
3129
3230dependencies {
3331 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
34- implementation " androidx.appcompat:appcompat: $a ndroidxAppCompatVersion "
32+ implementation AndroidX . appCompat
3533 implementation project(' :capacitor-android' )
36- testImplementation " junit:junit: $j unitVersion "
37- androidTestImplementation " androidx .test.ext: junit: $a ndroidxJunitVersion "
38- androidTestImplementation " androidx .test.espresso:espresso- core: $a ndroidxEspressoCoreVersion "
34+ testImplementation Testing . junit4
35+ androidTestImplementation AndroidX . test. ext. junit
36+ androidTestImplementation AndroidX . test. espresso. core
3937 implementation project(' :capacitor-cordova-android-plugins' )
4038}
4139
You can’t perform that action at this time.
0 commit comments