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

Fix packaging which broke because of asciidocs comments #3825

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

ruflin
Copy link
Contributor

@ruflin ruflin commented Mar 28, 2017

The version.asciidoc is used during packaging to read out the version number. Recently a comment was introduce in the file which broke the packaging. In before_build.sh the content of the file is copied over and converted to yaml, see https://github.com/elastic/beats/blob/master/dev-tools/packer/xgo-scripts/before_build.sh#L58. As these lines to not seem to be required, I removed them. Alternatively the sed script could be adapted which would be more complex.

The version.asciidoc is used during packaging to read out the version number. Recently a comment was introduce in the file which broke the packaging. In before_build.sh the content of the file is copied over and converted to yaml, see https://github.com/elastic/beats/blob/master/dev-tools/packer/xgo-scripts/before_build.sh#L58. As these lines to not seem to be required, I removed them. Alternatively the sed script could be adapted which would be more complex.
@ruflin
Copy link
Contributor Author

ruflin commented Mar 28, 2017

jenkins, package it

@ruflin
Copy link
Contributor Author

ruflin commented Mar 28, 2017

Packaging looks good: http://build-eu-00.elastic.co/job/beats-package-PR/86/

@tsg
Copy link
Contributor

tsg commented Mar 28, 2017

@dedemorton I'm merging this one to fix the packaging, We can discuss other options if you think it's important to keep that comment in.

@tsg tsg merged commit f4bea61 into elastic:master Mar 28, 2017
@dedemorton
Copy link
Contributor

@tsg It's fine to remove the comments here. The main thing is having the release-state defined in a central place. :-)

@monicasarbu monicasarbu deleted the fix-packaging-failure branch March 28, 2017 21:57
dedemorton pushed a commit to dedemorton/beats that referenced this pull request Mar 30, 2017
The version.asciidoc is used during packaging to read out the version number. Recently a comment was introduce in the file which broke the packaging. In before_build.sh the content of the file is copied over and converted to yaml, see https://github.com/elastic/beats/blob/master/dev-tools/packer/xgo-scripts/before_build.sh#L58. As these lines to not seem to be required, I removed them. Alternatively the sed script could be adapted which would be more complex.
andrewkroh pushed a commit that referenced this pull request Mar 31, 2017
The version.asciidoc is used during packaging to read out the version number. Recently a comment was introduce in the file which broke the packaging. In before_build.sh the content of the file is copied over and converted to yaml, see https://github.com/elastic/beats/blob/master/dev-tools/packer/xgo-scripts/before_build.sh#L58. As these lines to not seem to be required, I removed them. Alternatively the sed script could be adapted which would be more complex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants