-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: plugin publication #252
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
beb1db2
Fix
buenaflor f2de209
Update
buenaflor deeaa5d
Update upload artifact to v4
buenaflor aff2ee9
Update workflow name
buenaflor 91f73b8
update
buenaflor eccf1e8
Update
buenaflor f9e7bb1
Remove previous archive distribution jobs
buenaflor 5b3a18f
only do it for release branches
buenaflor 8133e3e
formatting
buenaflor 85e1e5b
Merge branch 'main' into fix/plugin-publication
buenaflor eee4d12
Merge branch 'main' into fix/plugin-publication
buenaflor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,42 @@ | ||
name: "Generate and upload distributions" | ||
on: | ||
push: | ||
branches: | ||
- release/** | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
archive-distribution: | ||
runs-on: macos-latest-xlarge | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: JDK setup | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
|
||
- name: Cached Gradle | ||
uses: gradle/gradle-build-action@842c587ad8aa4c68eeba24c396e15af4c2e9f30a | ||
|
||
- name: DistZip libraries | ||
run: | | ||
./gradlew distZip | ||
|
||
- name: DistZip plugin | ||
run: | | ||
cd sentry-kotlin-multiplatform-gradle-plugin | ||
./gradlew distZip sentryPluginMarkerDistZip | ||
|
||
- name: Archive packages | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ github.sha }} | ||
if-no-files-found: error | ||
path: | | ||
./*/build/distributions/*.zip | ||
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 |
---|---|---|
|
@@ -4,3 +4,18 @@ versionName=0.7.1 | |
group=io.sentry | ||
# TODO: Update update-cocoa.sh so the cocoa version is auto updated as well | ||
sentryCocoaVersion=8.26.0 | ||
|
||
# publication pom properties | ||
POM_NAME=Sentry Kotlin Multiplatform Gradle Plugin | ||
POM_DESCRIPTION=Sentry Kotlin Multiplatform Gradle Plugin | ||
POM_URL=https://github.com/getsentry/sentry-kotlin-multiplatform | ||
POM_SCM_URL=https://github.com/getsentry/sentry-kotlin-multiplatform | ||
POM_SCM_CONNECTION=scm:git:git://github.com/getsentry/sentry-kotlin-multiplatform.git | ||
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/getsentry/sentry-kotlin-multiplatform.git | ||
|
||
POM_LICENCE_NAME=MIT | ||
POM_LICENCE_URL=https://github.com/getsentry/sentry-kotlin-multiplatform/blob/main/LICENSE | ||
|
||
POM_DEVELOPER_ID=getsentry | ||
POM_DEVELOPER_NAME=Sentry Team and Contributors | ||
POM_DEVELOPER_URL=https://github.com/getsentry/ |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge all the distributions into one single workflow