-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MOEN-31729: Publish Plugin Integration (#43)
- Loading branch information
1 parent
4e6d7e7
commit 54c7c0e
Showing
12 changed files
with
90 additions
and
98 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
environment: publishing_gradle_config | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout sdk automation scripts | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: moengage/sdk-automation-scripts | ||
path: sdk-automation-scripts | ||
token: ${{ secrets.SDK_BOT_ACCESS_TOKEN }} | ||
- name: Automation script setup | ||
uses: ./sdk-automation-scripts/actions/android-repository-setup | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
path: source | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
token: ${{ secrets.SDK_BOT_ACCESS_TOKEN }} | ||
- name: Release Catalog | ||
working-directory: source | ||
env: | ||
ORG_GRADLE_PROJECT_oss_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_oss_mavenCentralUsername }} | ||
ORG_GRADLE_PROJECT_oss_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_oss_mavenCentralPassword }} | ||
ORG_GRADLE_PROJECT_profileId: ${{ secrets.ORG_GRADLE_PROJECT_profileId }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKey }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyId }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyPassword }} | ||
run: | | ||
kotlinc -script ../sdk-automation-scripts/scripts/release/segment-release.main.kts |
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,8 +1,5 @@ | ||
### Releasing | ||
# Release Process | ||
|
||
1. Change the version name in `gradle.properties`.(version name- X.Y.Z) | ||
2. Update the `CHANGELOG.md` for the impending release. | ||
3. Run the following command `./gradlew moengage-segment-integration:publish --no-daemon --no-parallel` | ||
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) | ||
5. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version) | ||
6. `git push && git push --tags` | ||
- Merge all the releasing changes into `development` | ||
- Update the `moe-android-sdk` and `android-dependency-catalog-internal` version in `development` | ||
- Push the changes to remote and run the release action on `development` branch |
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
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,4 +1,4 @@ | ||
ARTIFACT_NAME=moengage-segment-integration | ||
NAME=MoEngage Segment Integration | ||
DESCRIPTION=MoEngage-Segment Bundled integration | ||
POM_DESCRIPTION=MoEngage-Segment Bundled integration | ||
VERSION_NAME=6.5.8 |
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,4 +1,4 @@ | ||
ARTIFACT_NAME=moengage-segment-kotlin-destination | ||
NAME=MoEngage Segment Kotlin Destination | ||
DESCRIPTION=MoEngage-Segment Kotlin Destination | ||
POM_DESCRIPTION=MoEngage-Segment Kotlin Destination | ||
VERSION_NAME=2.3.0 |
This file was deleted.
Oops, something went wrong.
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