-
Notifications
You must be signed in to change notification settings - Fork 93
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
Test Organization build-release.yml in productcomments repo #181
Conversation
leemyongpakvn
commented
Aug 28, 2023
Questions | Answers |
---|---|
Description? | update_release_draft of Organizaion Build & Release failed when Release new version. We need test it separately in this repository. |
Type? | bug fix |
BC breaks? | no |
Deprecations? | no |
Fixed ticket? | Fixes PrestaShop/PrestaShop#33728 |
How to test? | Github Build update_release_draft succeed in Release 6.0.1 |
So you replace the Github action global by a custom one. What are the changes that you introduce and will fix the problem? |
.github/workflows/build-release.yml
Outdated
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Prepare for Release | ||
run: | | ||
cd ${{ github.event.repository.name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think removing the cd will fix the problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. The logic is simple: if you are inside productcomments folder, you can not zip it; you need to be in 1 level up, in modules folder. But this command is OK before. So we really need test it in action :)
If we make changes directly in https://github.com/PrestaShop/.github/blob/master/.github/workflows/build-release.yml, it will affects all modules. So I choose copying Organization build-release.yml content to this repo for safety (not a custom one, it is an exact copy for testing). |
@leemyongpakvn The build script is broken in all module repositories and themes, so why don't we apply it globally? |
@Hlavtox For safety, once we fix the issue locally in this repo, we will apply it globally. |
@leemyongpakvn OK brother, sounds good. :-) |
@M0rgan01 I tried to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see what it gives
Good approach 👍 |
@leemyongpakvn And I think afterwards it will be good |
I don't think so. I think old |
Moved to the related issue :) |