Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

[BUGFIX] - Fix build with build.sh #862

Conversation

fabianofernandeszup
Copy link
Contributor

Signed-off-by: Fabiano Chiareto Fernandes fabiano.fernandes@zup.com.br

Description

The build process checks for the existence of the build.sh file in the formula and, if not found, proceed to the build through the makefile.

But when the formula has both files, it generates an error, because first the build.sh is executed and then the makefile, and this error is captured by the cli as a build execution error.

The formula template is using both files to maintain compatibility with previous versions of the cli.

How to verify it

Create a new formula such as shell-bat. (Commons release 2.15.1)
When executing the first time, there will be a build error message with makefile, as in the image below.

Changelog

  • Fix build process when the formula has build.sh and makefile

Signed-off-by: Fabiano Chiareto Fernandes <fabiano.fernandes@zup.com.br>
@henriquemoraeszup henriquemoraeszup linked an issue Feb 18, 2021 that may be closed by this pull request
@henriquemoraeszup
Copy link
Contributor

/merge qa

@ritchie-bot
Copy link
Contributor

ritchie-bot bot commented Feb 18, 2021

🔥 Merge Conflict

@henriquemoraeszup
Copy link
Contributor

/merge qa

@ritchie-bot
Copy link
Contributor

ritchie-bot bot commented Feb 18, 2021

🔥 Merge Conflict

@henriquemoraeszup
Copy link
Contributor

/merge qa

@ritchie-bot
Copy link
Contributor

ritchie-bot bot commented Feb 18, 2021

👌 Merged branch fix-build-with-shell-script into qa

@henriquemoraeszup henriquemoraeszup merged commit a1db972 into ZupIT:master Feb 18, 2021
henriquemoraeszup pushed a commit that referenced this pull request Feb 22, 2021
Signed-off-by: Fabiano Chiareto Fernandes <fabiano.fernandes@zup.com.br>
henriquemoraeszup added a commit that referenced this pull request Feb 22, 2021
* Fixing delete credential empty fields bug (#864)

* Fix build with build.sh (#862)

Signed-off-by: Fabiano Chiareto Fernandes <fabiano.fernandes@zup.com.br>

* Update repo fix (#866)

* [ci skip] release

Co-authored-by: henriquemoraeszup <68074718+henriquemoraeszup@users.noreply.github.com>
Co-authored-by: Fabiano Chiaretto Fernandes <58859234+fabianofernandeszup@users.noreply.github.com>
@fabianofernandeszup fabianofernandeszup deleted the fix-build-with-shell-script branch June 7, 2021 22:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 bug Report a bug encountered while operating Ritchie
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix build with build.sh
4 participants