Skip to content
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 11 commits into from
Aug 9, 2024
Merged

fix: plugin publication #252

merged 11 commits into from
Aug 9, 2024

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Aug 8, 2024

previously plugin and library workflows did the uploading of the distributions separately, I don't think this would've worked.

Now the distributions are packaged in one workflow.

Also added a couple things like the pom metadata

#skip-changelog

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.43%. Comparing base (c36d0b4) to head (eee4d12).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #252   +/-   ##
=======================================
  Coverage   75.43%   75.43%           
=======================================
  Files          38       38           
  Lines         574      574           
  Branches       85       85           
=======================================
  Hits          433      433           
  Misses         96       96           
  Partials       45       45           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 80 to 86
tasks.named("sentryPluginMarkerDistTar") {
mustRunAfter("generatePomFileForSentryPluginPluginMarkerMavenPublication")
}

tasks.named("sentryPluginMarkerDistZip") {
mustRunAfter(":generatePomFileForSentryPluginPluginMarkerMavenPublication")
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

somehow I need this or it gives me a "without declaring an explicit or implicit dependency." error

Comment on lines +27 to +42
- 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
Copy link
Contributor Author

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

@buenaflor buenaflor marked this pull request as ready for review August 8, 2024 16:00
@buenaflor buenaflor requested a review from romtsn as a code owner August 8, 2024 16:00
@buenaflor
Copy link
Contributor Author

@romtsn I think after this PR the release will work fine

@buenaflor buenaflor enabled auto-merge (squash) August 9, 2024 08:24
@buenaflor buenaflor merged commit 68ebe2c into main Aug 9, 2024
12 checks passed
@buenaflor buenaflor deleted the fix/plugin-publication branch August 9, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants