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/144 Update the release process #145

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Fix/144 Update the release process #145

merged 1 commit into from
Aug 24, 2022

Conversation

faisal-alvi
Copy link
Member

@faisal-alvi faisal-alvi commented Aug 5, 2022

Description of the Change

This PR changes the release process so we can distribute the plugin via composer without needing WPackagist.

Closes #144

How to test the Change

Test it in the next release (2.6.0).

Changelog Entry

Changed: The plugin is now available via Composer without any additional steps required.

Credits

Props @faisal-alvi @kovshenin @jeffpaul

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@faisal-alvi faisal-alvi added this to the 2.6.0 milestone Aug 5, 2022
@faisal-alvi faisal-alvi self-assigned this Aug 5, 2022
@faisal-alvi faisal-alvi requested a review from jeffpaul August 5, 2022 11:53
Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

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

Curious why not just update

on:
push:
tags:
- "*"
to be on a GitHub publish and adding in the ZIP file generation to the end?

@faisal-alvi
Copy link
Member Author

@jeffpaul we have already used the Github publish as seen in the ElasitcPress.

on:
release:
types: [published]

Please let me know if this is not what you are trying to point out.

@faisal-alvi faisal-alvi requested a review from jeffpaul August 16, 2022 13:26
@jeffpaul
Copy link
Member

@faisal-alvi yes, I think mimicking EP and releasing when we publish on GH (vs. just on tagging) makes most sense to me; please update there and then I think this is good to merge.

Copy link
Member

@jeffpaul jeffpaul left a comment

Choose a reason for hiding this comment

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

Looks good to me, will see how the next release goes, thanks!

@faisal-alvi faisal-alvi merged commit 848ceb5 into develop Aug 24, 2022
@faisal-alvi faisal-alvi deleted the fix/144 branch August 24, 2022 06:10
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.

Bug: Composer package not functional since 2.3.0
2 participants