-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated scripts to handle version bumps
- Loading branch information
Showing
4 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Update version property | ||
uses: Reedyuk/[email protected] | ||
with: | ||
path: 'gradle.properties' | ||
path: 'library/gradle.properties' | ||
property: 'MODULE_VERSION_NUMBER' | ||
value: ${{ github.ref_name }} | ||
- name: Setup cocoapods | ||
|
@@ -44,7 +44,7 @@ jobs: | |
view_top: 1 | ||
- uses: vimtor/action-zip@v1 | ||
with: | ||
files: build/XCFrameworks/release/ | ||
files: library/build/XCFrameworks/release/ | ||
dest: build/${{ github.ref_name }}.zip | ||
- name: upload iOS artifact to release | ||
uses: actions/upload-release-asset@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
import java.util.Properties | ||
|
||
include(":library") | ||
|
||
val properties = Properties() | ||
val propertiesFile = File("library/gradle.properties") | ||
if (propertiesFile.exists()) { | ||
properties.load(propertiesFile.inputStream()) | ||
} | ||
val PUBLISH_NAME = properties.getProperty("PUBLISH_NAME") | ||
|
||
rootProject.name = PUBLISH_NAME | ||
rootProject.children.forEach { | ||
it.name = PUBLISH_NAME | ||
} |