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

TECH: snapshot publish #455

Merged
merged 6 commits into from
Dec 16, 2022
Merged

TECH: snapshot publish #455

merged 6 commits into from
Dec 16, 2022

Conversation

VladislavSumin
Copy link
Collaborator

Refactor publish release pipeline && add SNAPSHOT publishing

PGP_KEYID: ${{ secrets.pgp_keyid }}
PGP_KEY: ${{ secrets.pgp_key }}
PGP_PASSWORD: ${{ secrets.pgp_password }}
run: >
./gradlew publishRelease -Pkaspresso.ossrh.user=${OSSRH_USER}
./gradlew publishAllPublicationsTo${{ inputs.releaseType }}Repository
-Pversion=${{ inputs.version }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be more clear if all kaspresso related parameters start with kaspresso. prefix. Up to you here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

.forUseAtConfigurationTime()

val sonatypeRepoName = "SonatypeReleases"
val ossrhUsername = findProperty("kaspresso.ossrh.user")?.toString()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Did you check that configuration cache is not broken here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we don't use configuration cache. No, I'm don't check this point.
I think we check all places when we add configuration cache support

@VladislavSumin VladislavSumin merged commit 8973e3e into master Dec 16, 2022
@VladislavSumin VladislavSumin deleted the TECH-snapshot-publish branch December 16, 2022 08:43
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.

3 participants