Skip to content

Commit

Permalink
feat: Config
Browse files Browse the repository at this point in the history
  • Loading branch information
dango2887 committed Aug 23, 2023
1 parent af94a24 commit 5086752
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push_lib_widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
git config --global user.name "GitHub Actions"
git commit -am "Update versionCode"
git push
- name: 发布
run: |
./gradlew :lib:widget:publish
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions lib/widget/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ plugins {
id 'com.vanniktech.maven.publish'
}

mavenPublishing{
coordinates("io.github.dango-dx", "lib_widget", "${VERSION_INFIX}.${VERSION_FIX}")
}

android {
namespace 'com.dango.dx.lib.widget'
compileSdk 33
Expand Down
4 changes: 1 addition & 3 deletions lib/widget/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#
POM_ARTIFACT_ID=lib_widget
VERSION_INFIX = 1.0.0004
VERSION_INFIX = 1.0.0
VERSION_FIX = 0004
VERSION_NAME=$VERSION_INFIX.$VERSION_FIX
SONATYPE_AUTOMATIC_RELEASE=true

0 comments on commit 5086752

Please sign in to comment.