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

build.sh rework #1008

Merged
merged 2 commits into from
Jul 10, 2018
Merged

build.sh rework #1008

merged 2 commits into from
Jul 10, 2018

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Jun 29, 2018

  • separate statements instead of inline logic
  • -DAPP_REVISION=... instead of modifying file (see accidental commit of version.h)
  • show revision in the log (git describe shows current tag or <tag>-<n-commits>-<sha1>)
  • set -e to avoid some issues when commands fail in build.sh but build succedes
  • check for git command presence, because with set -e it will fail without it. source.tar.gz downloaded from releases should still work

Requires #1007

@mcspr mcspr force-pushed the build-sh-rework branch 2 times, most recently from 8bc220b to 2279e05 Compare June 30, 2018 06:56
mcspr added 2 commits July 2, 2018 01:03
- Revert test to being serial. Releases are using parallel jobs.
- Some cosmetic changes in build.sh
@mcspr mcspr force-pushed the build-sh-rework branch from 2279e05 to 064080c Compare July 1, 2018 22:08
@xoseperez xoseperez merged commit c16b380 into xoseperez:dev Jul 10, 2018
mcspr added a commit to mcspr/espurna that referenced this pull request Jul 25, 2018
* Change git detection to not accidentaly exit the shell
* Fix [ $par_build ] always being true
* Fix git-describe with shallow clone ("No tags can describe ...")
mcspr added a commit to mcspr/espurna that referenced this pull request Jul 25, 2018
* Change git detection to not accidentaly exit the shell
* Fix [ $par_build ] always being true
* Fix git-describe with shallow clone ("No tags can describe ...")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants