-
Notifications
You must be signed in to change notification settings - Fork 710
Fix win release ext #8191
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 win release ext #8191
Conversation
jneira
commented
Jun 1, 2022
•
edited
Loading
edited
- Closes Cabal 3.4.0.0 release on Windows lacks extensions #7298
- Being checked in gitlab here: https://gitlab.haskell.org/jneira/cabal/-/jobs/1072546
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 confirm in the test pipeline windows has .exe and at least one of the linux archives has no .exe.
Thank you so much @jneira.
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.
LGTM.
Co-authored-by: Robert <[email protected]>
@@ -61,18 +63,18 @@ args=( | |||
run cabal v2-build ${args[@]} cabal-install | |||
|
|||
mkdir "$CI_PROJECT_DIR/out" | |||
cp "$(cabal list-bin ${args[@]} cabal-install:exe:cabal)" "$CI_PROJECT_DIR/out/cabal" | |||
cp "$(cabal list-bin ${args[@]} cabal-install:exe:cabal)" "$CI_PROJECT_DIR/out/cabal$EXE_EXT" |
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.
here there is no curly braces so i will not add them neither
@Mergifyio backport 3.8 |
✅ Backports have been created
|
* Fix cabal exec extension for win * Use tabs in the changed region * Use exe ext when zipping * Apply suggestions from code review Co-authored-by: Robert <[email protected]> * Add curly braces to var Co-authored-by: Robert <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 49a4946)
Fix win release ext (backport #8191)