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

Add a new workflow for publishing new versions #51

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

MertNYuksel
Copy link
Member

@MertNYuksel MertNYuksel commented Aug 16, 2023

Add a new workflow that publishes new releases.

Remove the code that reads these secrets from the local.properties file. This will prevent or at least make it harder for developers to publish new versions from their development machines

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

"The 'publish' workflow is triggered on new releases. It sets up an environment, runs unit tests, and publishes the new version of the library by invoking 'publish' on Gradle. In the final step, we retrieve credentials and signing info from GitHub secrets, set them as environment variables. The 'publish-root.gradle' then uses these environment variables to publish the new release."

Motivation and Context

I want to automate publish new version process.

How Has This Been Tested?

I tested using Act.

Screenshots (if appropriate):

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@MertNYuksel MertNYuksel merged commit 2fa5b89 into master Aug 16, 2023
2 checks passed
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.

None yet

1 participant