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

feat: created new workflow for release zip with current version #54

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

julianramirez2
Copy link
Contributor

Description

An important error in the release generation process has been corrected. Previously, when generating a release, the 'zip' file of the plugin was being created with dependencies still tagged with the previous version. In other words, if transitioning from v1.0.0 to v2.0.0, the version tag in the files remained as v1.0.0 due to a workflow order issue.

To address this, we now allow the 'bumpversion' workflow to execute, and only after its successful completion, the 'upload-release-zip.yml' process is triggered. This process generates a zip file with the current version tag and adds it to the finalized release.

Testing instructions

"For testing purposes, it's best to fork the repository, manually create an initial version tag so that the workflow can recognize that one already exists and know which version to set, and then make a change to the 'main' branch to trigger the workflow.

Additional information

At the end, a zip file is generated with the name 'openex-ecommerce.zip,' which contains the necessary files and dependencies for the installation. The name has been changed in accordance with the rules required by WordPress.

image

@openedx-webhooks
Copy link

openedx-webhooks commented Oct 20, 2023

Thanks for the pull request, @julianramirez2! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Oct 20, 2023
MaferMazu
MaferMazu previously approved these changes Oct 20, 2023
Copy link
Contributor

@MaferMazu MaferMazu left a comment

Choose a reason for hiding this comment

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

We must wait until the CLA confirmation, but this change looks good.

@mphilbrick211
Copy link

Hi @julianramirez2! Thanks for this contribution! Please let me know if you have any questions re: filling out the CLA form.

If you are submitting on behalf of eduNEXT, you'll need to have your manager email [email protected] and have you added to eduNEXT's entity agreement (if they haven't done so already).

@julianramirez2
Copy link
Contributor Author

Hi @julianramirez2! Thanks for this contribution! Please let me know if you have any questions re: filling out the CLA form.

If you are submitting on behalf of eduNEXT, you'll need to have your manager email [email protected] and have you added to eduNEXT's entity agreement (if they haven't done so already).

Hi @mphilbrick211, I sent the CLA form a couple of days ago but I still have no response in my email.

@mphilbrick211
Copy link

Hi @julianramirez2! Thanks for this contribution! Please let me know if you have any questions re: filling out the CLA form.
If you are submitting on behalf of eduNEXT, you'll need to have your manager email [email protected] and have you added to eduNEXT's entity agreement (if they haven't done so already).

Hi @mphilbrick211, I sent the CLA form a couple of days ago but I still have no response in my email.

Thanks, @julianramirez2! I'm looking into this for you.

@mphilbrick211
Copy link

@julianramirez2 - we are not seeing it on our end. Can you reach out to [email protected] and confirm your personal email address? We will send it to you from there.

@mphilbrick211
Copy link

Hi @julianramirez2 - it looks like you're contributing on behalf of eduNEXT. In this case, we need to add you to eduNEXT's existing entity agreement.

@juancamilom could you please confirm that we should add @julianramirez2?

@julianramirez2
Copy link
Contributor Author

it looks like you're contributing on behalf of eduNEXT. In this case, we need to add you to eduNEXT's existing entity agreement.

As far as I understood from now on I was going to start contributing not on behalf of EduNext but independently. I sent the request with the e-mail "[email protected]". If necessary, I can either refill the CLA or send an email to the address you provided.

@juancamilom
Copy link

thanks for flagging this @mphilbrick211 .
yes we can add @julianramirez2 to edunexts cla agreement.

best :)

@mphilbrick211
Copy link

@julianramirez2 - you've been added to the eduNEXT entity CLA. It might take 24 hours to reflect in github. The CLA check should turn green when you rebase in the next day or so. Please let me know if you have any issues. Thanks!

@mphilbrick211
Copy link

Hi @julianramirez2! When you get a moment, could you please rebase so we can make sure your CLA check turns green? Thanks!

@MaferMazu MaferMazu self-requested a review November 2, 2023 01:37
@MaferMazu
Copy link
Contributor

@julianramirez2, please remember to change the zip file name to follow #53

@julianramirez2
Copy link
Contributor Author

@julianramirez2, please remember to change the zip file name to follow #53

Done.

Copy link
Contributor

@MaferMazu MaferMazu 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.

@MaferMazu MaferMazu merged commit 2365439 into openedx:main Nov 2, 2023
3 checks passed
@openedx-webhooks
Copy link

@julianramirez2 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants