`before_package` ignored when `build_script` is used
`before_package` is no longer being executed after I've replaced `build` step with `build_script` (as a workaround for https://help.appveyor.com/discussions/problems/32380-vs-build-fails-if-vcxitems-project-is-included).
It does seem to work if I place the relevant script into `after_build` step instead.
`before_package` has the following description `# scripts to run *after* solution is built and *before* automatic packaging occurs`. Perhaps `automatic packaging` refers to the `build` step, but I couldn't find any other documentation that mentions this, so I'm not sure if it's actually a bug or just missing information in documentation.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 24 Aug, 2022 05:06 AM
It's by design, I'm afraid.
before_package
works only with automaticbuild
. Whenbuild_script
is used it's assumed all build and packaging commands are provided by the user.Feodor Fitsner closed this discussion on 24 Oct, 2022 09:02 PM.